Skip to content

Add zizmor as a CI check#2776

Draft
joerick wants to merge 2 commits intomainfrom
add-zizmor
Draft

Add zizmor as a CI check#2776
joerick wants to merge 2 commits intomainfrom
add-zizmor

Conversation

@joerick
Copy link
Contributor

@joerick joerick commented Mar 12, 2026

I'm curious about adding this tool, so experimenting with it here...

See #2770 for the impetus.

I'm curious about adding this tool, so experimenting with it here...

See #2770 for the impetus.
@github-advanced-security
Copy link

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

using: composite
steps:
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.1.0

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat!

@henryiii
Copy link
Contributor

I've added it in the past to packaging: pypa/packaging#1035

@agriyakhetarpal
Copy link
Member

agriyakhetarpal commented Mar 12, 2026

Yes, I also find it useful as a pre-commit hook, with the --pedantic and --fix=safe arguments.

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.

3 participants