Skip to content

Commit 9a12905

Browse files
sobolevnandrewrk
authored andcommitted
Only set contents: read permission in GitHub Action
1 parent 1a178d4 commit 9a12905

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
# Cancels pending runs when a PR gets updated.
1010
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
1111
cancel-in-progress: true
12+
permissions:
13+
# Sets permission policy for `GITHUB_TOKEN`
14+
contents: read
1215
jobs:
1316
x86_64-linux-debug:
1417
timeout-minutes: 420

0 commit comments

Comments
 (0)