Skip to content

Commit 792f651

Browse files
committed
Scope down GitHub token permissions for deny_dirty_cargo_locks.yml
1 parent b02d146 commit 792f651

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)