Skip to content

Commit

Permalink
CI: run zizmor
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 13, 2024
1 parent 0f71ee7 commit 1bc0a28
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,27 @@ jobs:
- name: Run tests
run: |
python -m poetry run pytest
zizmor:
runs-on: ubuntu-24.04

permissions:
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: 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

0 comments on commit 1bc0a28

Please sign in to comment.