Repository navigation
ci: drop redundant CI runs and add a Dependabot cooldown - #10
Merged
Merged
Conversation
Main only takes squash merges behind the up-to-date required check, so the push run re-tested code that had already passed. The docs-only path filter saved about 40 seconds on free macOS runners at the cost of a second job and a gh api script.
The tag must point at main, and every commit on main has passed Check.
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
Drop CI work that repeats checks already guaranteed elsewhere, and add a Dependabot cooldown.
ci.yml on: pull_request - push: main (paths-ignore docs) jobs: - changes (ubuntu, gh api path filter) - check needs: changes, if: code changed + check every pull request release.yml / build - cargo test --locked cargo build --release --locked dependabot.yml (github-actions, cargo) + cooldown: default-days: 7Why each removal is safe:
Check, and the required check uses the up-to-date policy, so every commit on main already passed it.gh apiscript.Checknow runs on every PR, which still satisfies the required check.Check. Manualworkflow_dispatchruns only upload an artifact.Evidence
ci.yml80 lines, 2 jobs;Checkran on each PR and again on the merge push.After:
ci.yml39 lines, 1 job;actionlintpasses on all workflows;Checkon this PR runs withoutneeds:.Merge Danger
Door: two-way
Revert restores the previous workflows; no settings, secrets or rulesets change.
Blast Radius: CI
Docs-only PRs now wait ~40s for
Check. A broken main would only surface on the next PR, not on a push run.