Probably fix permissions issues with CI

This commit is contained in:
Ashcon Partovi
2024-04-17 17:51:34 -07:00
parent 997f57b97f
commit aa1174df69
8 changed files with 28 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
name: Build Darwin
permissions:
contents: read
actions: write
on:
workflow_call:
inputs:

View File

@@ -1,5 +1,9 @@
name: Build Linux
permissions:
contents: read
actions: write
on:
workflow_call:
inputs:

View File

@@ -1,5 +1,9 @@
name: Build Windows
permissions:
contents: read
actions: write
on:
workflow_call:
inputs:

View File

@@ -1,5 +1,9 @@
name: Build Zig
permissions:
contents: read
actions: write
on:
workflow_call:
inputs:

View File

@@ -1,5 +1,9 @@
name: CI
permissions:
contents: read
actions: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@@ -1,6 +1,7 @@
name: Comment
permissions:
actions: read
pull-requests: write
on:

View File

@@ -1,5 +1,8 @@
name: Lint
permissions:
contents: read
on:
workflow_call:

View File

@@ -1,5 +1,9 @@
name: Test
permissions:
contents: read
actions: read
on:
workflow_call:
inputs: