| --- |
| # https://github.com/woodruffw/zizmor |
| name: Zizmor 🌈 |
| |
| on: |
| push: |
| branches: ["main"] |
| pull_request: |
| branches: ["**"] |
| |
| concurrency: |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| cancel-in-progress: true |
| |
| permissions: {} |
| |
| jobs: |
| 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| with: |
| persist-credentials: false |
| |
| - name: Run zizmor 🌈 |
| uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 |
| with: |
| persona: pedantic |
| ... |