Skip to content

ci: add [skip downstream] support to dispatch-downstream job#82

Merged
longieirl merged 1 commit intomainfrom
ci/skip-downstream-flag
Mar 27, 2026
Merged

ci: add [skip downstream] support to dispatch-downstream job#82
longieirl merged 1 commit intomainfrom
ci/skip-downstream-flag

Conversation

@longieirl
Copy link
Copy Markdown
Owner

Summary

Adds [skip downstream] commit message flag to skip the dispatch-downstream job in ci.yml. Closes #81.

Every merge to main currently triggers a full CI run in the private longieirl/bankstatements repo (~7–8 minutes, counted against the 3,000 free minutes/month). Many merges (formatting fixes, doc updates, test-only changes) don't need to trigger a private-repo rebuild.

Changes

  • dispatch-downstream job condition extended to skip when commit message contains [skip downstream]
  • Comment block updated to document the flag

Usage

git commit -m "style: black formatting fix [skip downstream]"
git commit -m "docs: update CHANGELOG [skip downstream]"
git commit -m "test: add regression test [skip downstream]"

Test Plan

  • Merge a commit to main with [skip downstream] in the message — verify dispatch-downstream job is skipped in Actions
  • Merge a commit without the flag — verify dispatch still fires as normal
  • Verify ci-pass still succeeds when dispatch-downstream is skipped (it's not in the ci-pass needs list, so no impact

Related

Merges that don't need to trigger a private-repo rebuild (formatting
fixes, doc updates, test-only changes) can now include [skip downstream]
anywhere in the commit message to skip the dispatch. Closes #81.
@github-actions github-actions bot added the ci label Mar 27, 2026
@longieirl longieirl self-assigned this Mar 27, 2026
@longieirl longieirl merged commit e387ca3 into main Mar 27, 2026
11 checks passed
@longieirl longieirl deleted the ci/skip-downstream-flag branch March 27, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: reduce GitHub Actions minutes consumption in private bankstatements repo

2 participants