Skip to content

Commit cf0c8c6

Browse files
committed
workflows: limit permissions to reading repo contents
1 parent 23a2b0d commit cf0c8c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
permissions:
10+
contents: read
11+
912
env:
1013
CARGO_TERM_COLOR: always
1114

0 commit comments

Comments
 (0)