Revert "CI: remove code scanning again"

This reverts commit c5b593a34c.

try the suggestion from
https://github.com/woodruffw/zizmor/discussions/291
This commit is contained in:
Christoph Reiter
2024-12-13 21:51:36 +01:00
parent c5b593a34c
commit c553f33cf0

View File

@@ -53,6 +53,12 @@ jobs:
persist-credentials: false
- name: Run zizmor
run: pipx run zizmor .
run: pipx run zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: zizmor