Repository navigation
ci(secruity): hardening + lock files + dependabot cooldown - #140
Merged
Merged
Conversation
The repo had none, so nothing was ever proposed for update. Actions need this in place before pinning, or the pins freeze permanently. Cooldown lets a compromised publish be noticed before we take it.
Every workflow now starts at contents: read; the two release jobs grant write explicitly. actions/checkout also leaves the job token in .git/config by default, where any build script can read it. --locked on the release build and the one cargo check that lacked it, so a job can never silently resolve a dependency the lockfile does not name. actions/create-release and actions/upload-release-asset are both archived upstream; gh ships on the runner and replaces the pair, which also retires the upload_url handoff between the two jobs. Release version and archive names come from env rather than being interpolated into the shell.
zizmor audits the workflows themselves; pinact fails if a pinned SHA drifts from its version comment or is younger than the cooldown. No zizmor config: the tree is clean with no accepted exceptions.
Merged
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.
Uses --locked to ensure we only use deps from the lock file
Adds cooldown period to dependabot
pins actions versions
introduces zizimor and pinact