Skip to content

Validate Actions (online checks) #80

Validate Actions (online checks)

Validate Actions (online checks) #80

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Validate Actions (online checks)
on:
workflow_dispatch:
schedule:
- cron: '22 2 * * *'
permissions: {}
jobs:
zizmor:
name: Run zizmor
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write # integration with github advanced security
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
version-file: dev-tools/pyproject.toml
enable-cache: true
save-cache: false
cache-dependency-glob: dev-tools/uv.lock
cache-suffix: dev-tools
- name: Run zizmor
run: uv run zizmor --pedantic --format=sarif . > results.sarif
env:
UV_PROJECT: dev-tools
UV_FROZEN: "1"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
with:
sarif_file: results.sarif
category: zizmor