Repository navigation
ci: the PR gate — never a draft, and in a stack only the top PR - #12
Merged
Merged
Conversation
setup-beplus's PR gate (pr-gate/PR-GATE.md, v2.17.0) decides inside each run whether a pull request's checks run: never on a draft (marking it ready starts them), and in a stack only on the top PR, whose tree holds every PR below it; the PRs below report "skipped". A stack merges in one go, so dev ends at the tree the top PR tested. - `pull_request` runs on opened, synchronize, reopened and ready_for_review, with no `branches:` filter: a stack's top PR is based on the PR below it, so the filter let only the BOTTOM PR run, never the one that holds the stack. - A `paths:` filter moved into the gate (`gate-paths`), which reads the whole stack's diff: the filter saw only the top PR's own commits. - library-ci and docs-pages take `pr-gate: true`; a job of this repository's own waits for a `gate` job, and where it read the PR's base it reads the stack's root (dev), so it claims dev's environment and secrets. Needs setup-beplus v2.17.0 (v2 moved): until then `pr-gate` is an unknown input. Co-Authored-By: Igor Lamos <igor@be.plus>
igorlamos
approved these changes
Nov 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.
What
This PR turns on setup-beplus's PR gate for this repository's PR workflows. The gate is beplus/setup-beplus#32, described in
pr-gate/PR-GATE.md.pull_requestnow also triggers onready_for_review, so marking a PR ready starts its checks.branches:filter is gone. A stack's top PR is based on the PR below it, sobranches: [dev]let only the bottom PR run, never the one that holds the stack.paths:filter now lives in the gate (gate-paths), which reads the whole stack's diff. The filter saw only the top PR's own commits.library-cianddocs-pagestakepr-gate: true.gatejob.Needs
setup-beplus v2.17.0, with
v2moved to it. Until thenpr-gateis an unknown input. Merge after setup-beplus#32.