Skip to content

CI: one run per commit (push builds main only) - #41

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/ci-dedupe
Jul 30, 2026
Merged

CI: one run per commit (push builds main only)#41
Jammy2211 merged 1 commit into
mainfrom
feature/ci-dedupe

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Part of PyAutoLabs/PyAutoHeart#130 (fleet CI dedupe — every PR's checks currently run twice).

Mechanical: on: [push, pull_request]push: branches: [main] + pull_request, plus a concurrency group with cancel-in-progress on non-main refs only (a cancelled main run would read as red CI to Heart). Post-merge main runs preserved. Trade-off: a branch pushed with no open PR gets no CI until its PR opens.

🤖 Generated with Claude Code

Bare 'on: [push, pull_request]' ran every PR commit's checks twice (push +
PR events). Pushes now trigger only on main (post-merge run preserved —
Heart's ws_ci gate reads main-HEAD conclusions); a concurrency group cancels
superseded runs on PR refs only, never main (cancelled is in Heart's
FAILURE_CONCLUSIONS). PyAutoLabs/PyAutoHeart#130.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 5c1065c into main Jul 30, 2026
6 checks passed
@Jammy2211
Jammy2211 deleted the feature/ci-dedupe branch July 30, 2026 17:16
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