Skip to content

Commit 9975f26

Browse files
Run CI on pull requests to any base branch
The previous trigger filter limited pull_request CI to PRs whose base branch is main. That breaks stacked-PR workflows where each PR's base is another feature branch (an umbrella branch or the previous PR in a stack), so CI never fires until the final umbrella -> main PR. Drop the pull_request branches filter so any PR runs CI; keep the push trigger limited to main to avoid double-running CI on every feature branch push. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ec837db commit 9975f26

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
# Run CI on pull requests targeting any base branch, not just main.
7+
# This is necessary for stacked PR workflows where a PR's base is
8+
# another feature branch (e.g. an umbrella branch or a previous PR
9+
# in a stack); without this, only the final umbrella -> main PR
10+
# would get CI coverage.
611
pull_request:
7-
branches: [main]
812

913
jobs:
1014
benchmark-khronos-mivisionx:

0 commit comments

Comments
 (0)