Skip to content

Add reusable zizmor scanning workflow - #5

Closed
tobiasraabe wants to merge 1 commit into
mainfrom
codex/shared-zizmor
Closed

tobiasraabe wants to merge 1 commit into
mainfrom
codex/shared-zizmor

Conversation

@tobiasraabe

@tobiasraabe tobiasraabe commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Nine pytask-dev repositories duplicate the same zizmor scanning job. Add a reusable workflow that callers can invoke with a pinned commit SHA, keeping their event triggers local.

The job preserves the pytask-stata implementation: checkout of the caller repository, Python 3.13 and uv setup, workflow annotations, SARIF generation, and upload only for trusted pull requests. Callers must grant contents: read and security-events: write. No secrets or additional inputs are needed.

Validation: actionlint and offline zizmor passed; repository pre-commit hooks passed. The pilot in pytask-dev/pytask-stata#158 successfully called this workflow on GitHub, including scanning, SARIF generation, and SARIF upload.

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