Skip to content

ci: audit workflows online with zizmor on a schedule - #372

Draft
ffroliva wants to merge 11 commits into
mainfrom
chore/0.11.0-t0.3-zizmor
Draft

ffroliva wants to merge 11 commits into
mainfrom
chore/0.11.0-t0.3-zizmor

Conversation

@ffroliva

@ffroliva ffroliva commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Summary

Task 0.3 of the 0.11.0 plan (#367): audit the GitHub workflows online with zizmor.

  • .github/workflows/security-audit.yml (new): a weekly schedule and a manual trigger run zizmor online over
    .github/workflows and upload its SARIF report to code scanning (category zizmor). The workflow has no default
    permissions; the job has contents: read and security-events: write; checkout does not persist credentials. Every
    action is pinned to the same commit SHA as elsewhere in the repository.
  • .github/workflows/ci.yml: the offline zizmor check reports from low severity instead of medium. The workflows
    have no finding at that level (17 existing ignores, unchanged).
  • tests/test_ci_layout.py: test_zizmor_runs_online_on_a_schedule_and_uploads_sarif pins the schedule, the online
    run, the SARIF upload and the permissions.

This pull request is stacked on #368, #369 and #370 (the 0.11.0 integration branch); review the last commit.

Red evidence

Change Test Red on the base workflows
online zizmor with SARIF required tests/test_ci_layout.py::test_zizmor_runs_online_on_a_schedule_and_uploads_sarif RED (assertion under tests/)

Verification

uvx --from actionlint-py==1.7.12.25 actionlint (clean); uvx zizmor@1.32.0 --offline --min-severity low .github/workflows (no findings); uv run ruff check, uv run ruff format --check;
uv run pytest -q -n 4 tests/test_ci_layout.py (98 passed).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant