Skip to content

Commit 84f059c

Browse files
committed
Scope down GitHub token permissions for deny_dirty_cargo_locks.yml
Signed-off-by: Adnan Khan <adnanek@amazon.com>
1 parent b49bc2d commit 84f059c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deny_dirty_cargo_locks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Check no Cargo.lock files are dirty
22

33
on: pull_request
44

5+
6+
permissions:
7+
contents: read
8+
59
jobs:
610
no_dirty_cargo_locks_check:
711
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)