Skip to content

Commit 68192d0

Browse files
Copilotjgarzik
andcommitted
Add explicit permissions to Windows workflow for security
Co-authored-by: jgarzik <[email protected]>
1 parent 045429e commit 68192d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/windows-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ env:
77
CARGO_TERM_COLOR: always
88
RUST_BACKTRACE: 1
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
windows-build:
1215
runs-on: windows-latest

0 commit comments

Comments
 (0)