Skip to content

Commit a5f4ed1

Browse files
committed
ci: scope down permissions for clang-format.yml
1 parent 0bbe73f commit a5f4ed1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- main
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
format-check:
1215
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)