Skip to content

Commit f287dea

Browse files
committed
Upload workflow security scan results
1 parent 230161e commit f287dea

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/scan-workflows.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
permissions:
1919
security-events: write
20-
# required for workflows in private repositories
21-
contents: read
22-
actions: read
2320
steps:
2421
- name: Checkout repository
2522
uses: actions/checkout@v4
@@ -34,9 +31,8 @@ jobs:
3431
env:
3532
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3633

37-
# TODO: upload results once the repository is public
38-
# - name: Upload SARIF file
39-
# uses: github/codeql-action/upload-sarif@v3
40-
# with:
41-
# sarif_file: results.sarif
42-
# category: zizmor
34+
- name: Upload SARIF file
35+
uses: github/codeql-action/upload-sarif@v3
36+
with:
37+
sarif_file: results.sarif
38+
category: zizmor

0 commit comments

Comments
 (0)