Skip to content

Commit 618a349

Browse files
authored
ci: add security-events permission to security workflows (#10)
* ci: add security-events permission to security-fast workflow The rustsec/audit-check action requires security-events: write permission to upload SARIF results to GitHub's Security tab. * ci: add security-events permission to security-medium workflow Adds security-events: write for consistency with other security workflows and to support future security tool integrations.
1 parent d15c1de commit 618a349

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/security-fast.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
permissions:
1010
contents: read
1111
pull-requests: read
12+
security-events: write # Required for rustsec/audit-check SARIF upload
1213

1314
env:
1415
CARGO_TERM_COLOR: always

.github/workflows/security-medium.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: read
9+
security-events: write # Required for security tool integrations
910

1011
env:
1112
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)