Skip to content

Commit

Permalink
Run Zizmor with GH token (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche authored Dec 24, 2024
1 parent 460003e commit a67ebd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Run zizmor
- name: Run zizmor 🌈
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: zizmor
category: zizmor

0 comments on commit a67ebd0

Please sign in to comment.