Repository navigation
CI: run cargo audit on main's schedule only, not on pull requests - #936
Merged
Merged
Conversation
ci.yml's `audit` job ran for every change to Cargo.lock, .cargo/audit.toml or the job's own lines, and failed on whatever RustSec advisory was open that day: a Dependabot bump of the job's install action failed on twelve advisories for crates it did not touch. The Audit workflow (audit.yml) already audits main's lockfile every morning and on demand; it is now the only place cargo audit runs. The `audit` job, its group in ci-changes.sh and its entry in the release gate's REQUIRED_JOBS are removed, and DEVELOPMENT.md says how a fix is checked before it merges (a local run, or a manual run of the workflow on the fix's branch). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012e6DJY4xSPLWVHnr546DHR
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.
cargo auditno longer runs in CI. The daily Audit workflow (audit.yml:main'sCargo.lock, 9:00 Berlin, and on demand) is the only place it runs.Why
ci.yml's
auditjob ran for every change toCargo.lock,.cargo/audit.tomlor the job's own lines, and failed on whatever RustSec advisory was open that day. #927, a Dependabot bump of the job's install action, failed on twelve advisories for crates it does not touch (run).What changes
auditjob and thechangesjob'sauditoutput are removed.auditgroup (Cargo.lock,.cargo/audit.toml) is removed. A change to.cargo/audit.tomlalone now runs no CI job.auditleavesREQUIRED_JOBS. A release is no longer blocked by an open advisory; DEVELOPMENT.md says to look at the latest Audit run before one.workflow_dispatch.dependabot.ymland.cargo/audit.toml: brought in line. DEVELOPMENT.md says how to check a fix before it merges: a localcargo audit, or a manual run of the workflow on the fix's branch.Notes for the reviewer
auditis not among the required status checks of themainruleset, so no setting has to change for pull requests to merge.schmitch/elegant-gates-mvqubk.No issue asks for this change.
Generated by Claude Code