Skip to content

Commit 111c3c1

Browse files
ben-ednaspoorcc
authored andcommitted
Add correct permissions for uploading sarif
1 parent aae09dd commit 111c3c1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/run.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414

1515
test-cygwin:
1616
runs-on: windows-latest
17+
permissions:
18+
contents: read
19+
security-events: write
1720

1821
steps:
1922
- name: Harden the runner (Audit all outbound calls)
@@ -60,6 +63,9 @@ jobs:
6063
platform: [ubuntu-latest, macos-latest, windows-latest]
6164
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
6265
runs-on: ${{ matrix.platform }}
66+
permissions:
67+
contents: read
68+
security-events: write
6369

6470
steps:
6571
- name: Harden the runner (Audit all outbound calls)

0 commit comments

Comments
 (0)