| 1 |
name: GitHub Actions security analysis with zizmor |
| 2 |
on: |
| 3 |
pull_request: |
| 4 |
paths: ["**/*.yaml?"] |
| 5 |
push: |
| 6 |
branches: [main, stable] |
| 7 |
paths: ["**/*.yaml?"] |
| 8 |
permissions: {} |
| 9 |
concurrency: |
| 10 |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 11 |
cancel-in-progress: true |
| 12 |
jobs: |
| 13 |
zizmor: |
| 14 |
runs-on: ubuntu-latest |
| 15 |
steps: |
| 16 |
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 17 |
with: |
| 18 |
persist-credentials: false |
| 19 |
- uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 |
| 20 |
with: |
| 21 |
advanced-security: false |
| 22 |
annotations: true |