Skip to content

ci: run tests on every pull request - #13

Merged
saby1101 merged 1 commit into
mainfrom
ci/test-all-prs
Aug 14, 2026
Merged

saby1101 merged 1 commit into
mainfrom
ci/test-all-prs

Conversation

@saby1101

Copy link
Copy Markdown
Member

Prerequisite for adding a required-status-check rule. This commit was part of #12 but landed after that PR was merged, so it did not make it in.

test.yml triggers on pull_request: branches: ["main"], so a PR based on another feature branch runs no workflow at all. Both #10 and #12 sat at "no checks reported" for exactly this reason while they were stacked.

That is worse than a failing check. GitHub counts a required status check that never reports as pending, not failed — so with required checks enabled, a stacked PR would be blocked permanently, with no failure to fix and no way to satisfy the rule short of retargeting.

Dropping the branch filter costs one extra workflow run per stacked PR and removes that trap.

A stacked PR based on another feature branch reported no checks at all. That is worse
than a failure: a required status check that never reports counts as pending, so
enabling required checks would block such a PR permanently with nothing to fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@saby1101
saby1101 merged commit f39f33d into main Aug 14, 2026
1 check passed
@saby1101
saby1101 deleted the ci/test-all-prs branch August 14, 2026 11:18
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