Skip to content

Automated GitHub Actions Security Analysis with zizmor 🌈 #351

Automated GitHub Actions Security Analysis with zizmor 🌈

Automated GitHub Actions Security Analysis with zizmor 🌈 #351

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # 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@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3
with:
sarif_file: results.sarif
category: zizmor