Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,20 @@ jobs:
flags: Cython,${{ steps.get-version.outputs.version }}
fail_ci_if_error: true

zizmor:
name: Run zizmor 🌈
runs-on: ubuntu-latest
permissions:
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@v0.6.1

# https://github.com/marketplace/actions/alls-green#why
check: # This job does nothing and is only used for the branch protection

Expand All @@ -482,6 +496,7 @@ jobs:
- macOS
- Alpine
- Cython
- zizmor

runs-on: ubuntu-latest

Expand Down
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ repos:
rev: v1.0.2
hooks:
- id: sphinx-lint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.28.0
hooks:
- id: zizmor
- repo: local
hooks:
- id: regenerate-files
Expand Down
Loading