mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
Only set contents: read permission in GitHub Action
This commit is contained in:
1 parent
1a178d4995
commit
9a12905a2d
1 file changed
+3
@@ -9,6 +9,9 @@ concurrency:
|
||||
# Cancels pending runs when a PR gets updated.
|
||||
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
|
||||
cancel-in-progress: true
|
||||
permissions:
|
||||
# Sets permission policy for `GITHUB_TOKEN`
|
||||
contents: read
|
||||
jobs:
|
||||
x86_64-linux-debug:
|
||||
timeout-minutes: 420
|
||||
|
||||
Reference in new issue
Block a user