zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 9a12905a2da045b0948f612583b526bca3a1b2f0 (tree)
parent 1a178d499537b922ff05c5d0186ed5a00dbb1a9b
Author: sobolevn <mail@sobolevn.me>
Date:   Tue, 27 Aug 2024 11:52:51 +0300

Only set `contents: read` permission in GitHub Action
Diffstat:
M.github/workflows/ci.yaml | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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