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