Skip to content

CI: run once per pull request push - #30

Merged
robDL89 merged 1 commit into
mainfrom
claude/ci-single-run
Oct 22, 2026
Merged

robDL89 merged 1 commit into
mainfrom
claude/ci-single-run

Conversation

@robDL89

@robDL89 robDL89 commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Every push to a PR branch ran the full workflow twice (push and pull_request), about 14 jobs instead of 7, queued behind each other on GitHub's runners. That is most of the waiting seen while merging #24-#28.

  • push now triggers only on main; branches are checked by their pull request. workflow_dispatch stays for a branch without a PR.
  • A new push to a pull request cancels that PR's run still in progress. Never on main: each merge keeps its own run.

This PR's own checks run once, from the pull_request event, which is the first check of the change.

Every push to a pull request branch ran the whole workflow twice, once
for the push and once for the pull request, and the jobs queued behind
each other. Pushes now run CI on main only; branches are checked by
their pull request, and workflow_dispatch is still there for a branch
without one. A new push to a pull request cancels its run in progress;
runs on main are never cancelled.
@robDL89
robDL89 merged commit 15b0909 into main Oct 22, 2026
7 checks passed
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.

2 participants