Skip to content

Run Tests on PRs regardless of base branch#46

Merged
Phlogistique merged 1 commit into
mainfrom
claude/tests-all-base-branches-3njvdx
Jun 9, 2026
Merged

Run Tests on PRs regardless of base branch#46
Phlogistique merged 1 commit into
mainfrom
claude/tests-all-base-branches-3njvdx

Conversation

@Phlogistique

Copy link
Copy Markdown
Collaborator

branches: ['*'] looks like "all branches", but in GitHub's filter pattern syntax the * glob does not match / — and pull_request.branches filters on the base branch. So the Tests workflow silently skipped any PR whose base branch contains a slash. Concretely: #45 is stacked on #42's claude/... branch and got no Tests run at all.

Drop the filter — a bare pull_request: trigger covers every base branch. ('**' would too, but no filter says what it means.) The README's example workflows never had a filter, so no doc change is needed beyond the inline comment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX


Generated by Claude Code

`branches: ['*']` looks like "all branches" but the `*` glob does not
match `/`, so the Tests workflow silently skipped any PR whose base
branch contains a slash (e.g. a stacked PR based on another PR's
claude/... branch). Drop the filter; a bare pull_request trigger covers
every base branch.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX
@Phlogistique Phlogistique force-pushed the claude/tests-all-base-branches-3njvdx branch from 0eae486 to e7e0f55 Compare June 9, 2026 21:44
@Phlogistique Phlogistique merged commit 5329e52 into main Jun 9, 2026
3 checks passed
@github-actions github-actions Bot deleted the claude/tests-all-base-branches-3njvdx branch June 9, 2026 21:45
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