Skip to content

Commit 66a8c5f

Browse files
authored
fix: checkmarx on main needs more permissions to upload results (#29)
* fix: on main needs more permissions * fix: need to set in two locations
1 parent 3b344f1 commit 66a8c5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/checkmarx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ permissions:
55
contents: read # we only need to checkout code
66
actions: read # to query workflows/runs
77
pull-requests: write # to comment on or label PRs
8+
security-events: write # to upload the scan results
89

910
on:
1011
pull_request:
@@ -20,6 +21,7 @@ jobs:
2021
contents: read
2122
pull-requests: write
2223
statuses: write
24+
security-events: write
2325

2426
runs-on: ubuntu-latest
2527

0 commit comments

Comments
 (0)