Repository navigation
Add the signed-landing check and narrow the review bypass - #840
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This comment has been minimized.
This comment has been minimized.
A pull request is meant to land as one commit that a person signed, but nothing enforced it: GitHub's signature rule also accepts commits GitHub signs itself, such as web edits and "Update branch" merges, and the merge button merges a pull request with any number of commits. - `.github/workflows/signed-landing.yml` reports a `signed-landing` check that passes only when the pull request is one commit signed by a person, or comes from a branch named `sync-…`, which merges as it is. It always runs from `main`'s copy of the file, whatever branch the pull request targets, and reads the pull request through the API only. Its result belongs to the commit, so it judges every open pull request the commit heads, drafts aside, and passes only if all of them may land. - `required-checks.json` is a new ruleset with no bypass actors. It requires `signed-landing` on `main`. - The review ruleset's bypass changes from "always" to "pull requests only". - `required-checks-version-lines.json` requires pull requests and the check on the version lines except the dormant `1.x.x` and `0.1.x`, so a commit reaches them only through a pull request, which the check judges against that line. - docs/releasing.md says to name a synchronization branch `sync-…`. - docs/releasing.md says to name a branch that merges one version line into another `sync-…`, in this repository and with nothing before `sync-`. The ruleset files describe the state an admin applies after this merges: the check can be required only once the workflow is on `main` and an Actions policy allows `pull_request_target` for it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
kiwidream
force-pushed
the
kiwidream/signed-landing
branch
from
November 11, 2026 19:23
27c4d1a to
7b14f4e
Compare
kiwidream
added a commit
that referenced
this pull request
Nov 13, 2026
Since 3.x.x last took main at v3.1.1 (6046726), main gained the later revisions of the ruleset files, the signed-landing workflow and its two required-check rulesets (#837, #840, #855). .github/rulesets/README.md conflicted because both branches added it. 3.x.x's copy was main's first revision (aed3bd6) unchanged, so main's current text is taken. Two edits are not from main: - docs/releasing.md: a synchronization lands with the merge button. The version lines take changes only through a pull request that passes signed-landing, so the fast-forward push this guide described is refused. - docs/ci-same-tree-skip.md: renamed branches, as a limit of the skip (the note promised on #839). Co-Authored-By: Claude Fable 5.2 <[email protected]>
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 and why
A pull request is meant to land as one commit that a person signed, but nothing enforced it: GitHub's signature rule also accepts commits GitHub signs itself, such as web edits and "Update branch" merges, and the merge button merges a pull request with any number of commits.
.github/workflows/signed-landing.ymlreports asigned-landingcheck that passes only when the pull request is one commit signed by a person with an OpenPGP key of their own, or comes from a branch namedsync-…, which merges as it is. It always runs frommain's copy of the file, whatever branch the pull request targets, and reads the pull request through the API only. Its result belongs to the commit, so it judges every open pull request the commit heads, drafts aside, and passes only if all of them may land.required-checks.jsonis a new ruleset with no bypass actors. It requiressigned-landingonmain.required-checks-version-lines.jsonrequires pull requests and the check on the version lines except the dormant1.x.xand0.1.x, so a commit reaches them only through a pull request, which the check judges against that line.sync-….sync-…, in this repository and with nothing beforesync-.After this merges, an admin applies the ruleset files. Until then GitHub keeps the rules it has, and the README's check reports the difference. Two things have to hold before that, or nothing reports the check and nothing can merge: the workflow is on
main, and an Actions policy allowspull_request_targetfor.github/workflows/signed-landing.yml. GitHub blocks that event in public repositories from 2 December 2026 unless a policy allows it. Qbit-Org has had an organization-wide policy for this file since 11 November 2026.Every open pull request will show a red
signed-landinguntil a maintainer has squashed and signed it. That is the point: it is the ready-to-land light.Checks
pull-requests: readand uses no action.🤖 Generated with Claude Code