Skip to content

Automated GitHub Actions Security Analysis with zizmor 🌈 #171

Automated GitHub Actions Security Analysis with zizmor 🌈

Automated GitHub Actions Security Analysis with zizmor 🌈 #171

Workflow file for this run

name: Automated GitHub Actions Security Analysis with zizmor 🌈
on:
schedule:
- cron: "0 0 * * *" # Run every day at midnight
permissions: {}
jobs:
zizmor:
name: zizmor latest via PyPI
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@4959332f0f014c5280e7eac8b70c90cb574c9f9b # v5
- name: Run zizmor 🌈
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3
with:
sarif_file: results.sarif
category: zizmor