Skip to content

Commit 4b88403

Browse files
varunsh-coderardier
authored andcommitted
Add minimum GitHub token permissions for workflow (halide#7011)
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io> Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
1 parent 375a151 commit 4b88403

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/presubmit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- '**.c'
1010
- '**.cpp'
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
check_clang_format:
1417
name: Check clang-format

0 commit comments

Comments
 (0)