aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-08-27 11:52:51 +0300
committerAndrew Kelley <andrew@ziglang.org>2024-08-28 00:45:22 -0700
commit9a12905a2da045b0948f612583b526bca3a1b2f0 (patch)
tree405eacb82afc837583a1eccad25936106bc4b8cf /.github
parent1a178d499537b922ff05c5d0186ed5a00dbb1a9b (diff)
downloadzig-9a12905a2da045b0948f612583b526bca3a1b2f0.tar.gz
zig-9a12905a2da045b0948f612583b526bca3a1b2f0.zip
Only set `contents: read` permission in GitHub Action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 04be33bb6b..8316d7dc16 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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