| 1 |
name: GitHub Actions Security Analysis |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
paths: |
| 6 |
- ".github/workflows/**" |
| 7 |
pull_request: |
| 8 |
paths: |
| 9 |
- ".github/workflows/**" |
| 10 |
schedule: |
| 11 |
- cron: '0 14 * * 6' |
| 12 |
|
| 13 |
permissions: |
| 14 |
contents: read |
| 15 |
|
| 16 |
jobs: |
| 17 |
zizmor: |
| 18 |
name: zizmor |
| 19 |
runs-on: ubuntu-latest |
| 20 |
permissions: |
| 21 |
contents: read |
| 22 |
security-events: write |
| 23 |
steps: |
| 24 |
- name: Checkout repository |
| 25 |
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 |
| 26 |
with: |
| 27 |
persist-credentials: false |
| 28 |
|
| 29 |
- name: Run zizmor |
| 30 |
uses: zizmorcore/zizmor-action@6599ee8b7a49aef6a770f63d261d214911a7ce02 |