mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 00:52:52 +00:00
Only set contents: read
permission in GitHub Action
This commit is contained in:
parent
1a178d4995
commit
9a12905a2d
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user