Repository navigation
ci: build every pull request, so a stacked PR is tested while stacked - #203
Merged
Merged
Conversation
The .NET workflow's pull_request trigger filtered on main, release/** and net11, so a PR opened against another PR's branch got no run until it was retargeted and updated. The filter goes; push keeps its own. `edited` is deliberately not added for the retarget: a body edit would start a run whose skipped jobs pass the required checks and cancel a real run in the same concurrency group. main's protection requires the checks on an up-to-date branch, so a retargeted PR is updated, and that push starts a run. A convention test holds both halves. Also brings the header comment in line with the 10.x additions window (#180). Closes #146 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #146
Problem
.github/workflows/dotnet.ymlran onpull_requestonly intomain,release/**andnet11. A stacked PR (opened against another open PR's branch) got no .NET run while it was stacked. After it was retargeted it sat with only PR hygiene and dependency submission green until someone pushed to it.Change
pull_requesttrigger loses itsbranchesfilter. Every PR is built against its own base;pushkeeps its filter.editedis not added to catch the retarget. A body edit would start a run whose skipped jobs pass the required checks, and would cancel a real run in the same concurrency group. It isn't needed either:main's protection requiresTest,Integration,PackandConsumer smoke teston an up-to-date branch (strict: true, checked through the API). A PR whose base was merged intomainis behindmain, so updating it pushes a commit, and that starts a run. The reason is in the workflow's header comment.ReleaseWiringConventionTests.PullRequests_AreBuiltWhateverTheirBaseholds both halves.Tests
branches: [ "main" ]fails the new test, and addingtypes: [ …, edited ]fails it with theeditedmessage.🤖 Generated with Claude Code