fix(ci): replace pip install with native zizmor binary#22
Open
John-David Dalton (jdalton) wants to merge 1 commit intomasterfrom
Open
fix(ci): replace pip install with native zizmor binary#22John-David Dalton (jdalton) wants to merge 1 commit intomasterfrom
John-David Dalton (jdalton) wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
|
Superseded by #23, which includes this zizmor fix plus a new setup-and-install reusable workflow. |
Replace `pip install zizmor==1.23.1` with a direct download of the zizmor native binary from GitHub releases. The binary is verified against a SHA-256 checksum before use. This removes the Python/pip dependency entirely. zizmor is a Rust binary that ships standalone builds for all platforms (Linux, macOS, Windows) with no runtime dependencies. Also switches from secrets.GITHUB_TOKEN to github.token to avoid a zizmor secrets-outside-env warning.
dddf964 to
deb8367
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
pip install zizmor==1.23.1with a direct download of the zizmor native binary from GitHub releases. The binary is SHA-256 checksum-verified before use.What changed
secrets.GITHUB_TOKEN→github.token— same value, but avoids a zizmorsecrets-outside-envwarning.zizmor v1.23.1 checksums (SHA-256)
67a8df0a14352dd81882e14876653d097b99b0f4f6b6fe798edc0320cff27aff3725d7cd7102e4d70827186389f7d5930b6878232930d0a3eb058d7e5b47e65889d5ed42081dd9d0433a10b7545fac42b35f1f030885c278b9712b32c66f25972632561b974c69f952258c1ab4b7432d5c7f92e555704155c3ac28a2910bd71733c2293ff02834720dd7cd8b47348aafb2e95a19bdc993c0ecaca9c804ade92aTest plan