Skip to content

ci: drop redundant CI runs and add a Dependabot cooldown - #10

Merged
softmaxe merged 3 commits into
mainfrom
ci/simplify-workflows
Oct 15, 2026
Merged

softmaxe merged 3 commits into
mainfrom
ci/simplify-workflows

Conversation

@softmaxe

Copy link
Copy Markdown
Owner

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: 7

Why each removal is safe:

  • push to main: main only takes squash merges behind Check, and the required check uses the up-to-date policy, so every commit on main already passed it.
  • path filter: the repo is public, so macOS minutes are free; skipping docs-only PRs saved ~40s and needed a second job plus a gh api script. Check now runs on every PR, which still satisfies the required check.
  • release tests: the release job already rejects tags not on main, so the tagged commit passed Check. Manual workflow_dispatch runs only upload an artifact.

Evidence

  • Before: ci.yml 80 lines, 2 jobs; Check ran on each PR and again on the merge push.
    After: ci.yml 39 lines, 1 job; actionlint passes on all workflows; Check on this PR runs without needs:.

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.

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.
@softmaxe
softmaxe merged commit c7879a8 into main Oct 15, 2026
4 checks passed
@softmaxe
softmaxe deleted the ci/simplify-workflows branch October 15, 2026 06:12
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.

1 participant