Skip to content

ci: run on pull requests against any base branch - #32

Open
petlenz wants to merge 1 commit into
mainfrom
ci/run-on-all-pull-requests
Open

ci: run on pull requests against any base branch#32
petlenz wants to merge 1 commit into
mainfrom
ci/run-on-all-pull-requests

Conversation

@petlenz

@petlenz petlenz commented Aug 18, 2026

Copy link
Copy Markdown
Member

The pull_request trigger filtered on branches: [main], so a PR targeting a feature branch matched nothing.

Work in this repo lands through stacks — #27, #28, #29, #30 and #31 all target a feature branch — and not one of them has ever been built or tested by CI. The most recent workflow run of any kind is main from 2026-07-28.

   push:
     branches: [main]
   pull_request:
-    branches: [main]

Dropping the filter runs the job for every pull request whatever its base. The push trigger keeps its main filter, so branch pushes add no load — a stacked branch is covered by its own PR rather than by pushes to it.

The job body needed no change: NUMSIM_BUILD_TESTS and NUMSIM_BUILD_EXAMPLES are the real option names in CMakeLists.txt, and g++-14 is installed and selected, which the <print> uses in the examples and plot targets require.

Branched from main rather than folded into one of the stacked PRs, since the trigger is repo policy and not part of any feature. It has been merged into each of #27#31 as well, because pull_request runs the workflow from the PR's merge ref — the fix has to be present on a head branch for that PR to get a run.

The pull_request trigger filtered on branches: [main], so a PR targeting a
feature branch matched nothing. Work here lands through stacks -- #27..#31 all
target a feature branch -- and not one of them has ever been built or tested by
CI. The last run of any kind was main, three weeks ago.

Dropping the filter runs the job for every pull request whatever its base. The
push trigger keeps its main filter, so branch pushes add no load: a stacked
branch is covered by its own PR.
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