test-data/.github/workflows/zizmor.yml
raw| 1 | name: GitHub Actions Security Analysis with zizmor |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: ["main"] |
| 6 | pull_request: |
| 7 | branches: ["**"] |
| 8 | |
| 9 | permissions: {} |
| 10 | |
| 11 | jobs: |
| 12 | zizmor: |
| 13 | runs-on: ubuntu-latest |
| 14 | permissions: |
| 15 | security-events: write |
| 16 | steps: |
| 17 | - name: Checkout repository |
| 18 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 19 | with: |
| 20 | persist-credentials: false |
| 21 | |
| 22 | - name: Run zizmor |
| 23 | uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 |