Repository navigation
Description
Friction
The owner asked on 2026-10-23 that a critical security or bug fix releases without waiting for a person to merge the release pull request, with logical labels and rules, and lifted the restriction on agent work on the release files. Today a fix on main ships only when a person merges the release-please pull request.
Evidence
- release-please opens and updates one release pull request, and a person merges it (
.github/workflows/release.yml, RELEASE_CYCLE.md). - The repository allows auto-merge (
allow_auto_merge: true), and themainruleset requiresStatic Analysis,Tests & CoverageandSemantic PR title, with the strict up-to-date policy. - The labels
priority/p0-critical,priority/p1-highandtype/securityexist (.github/labels.yml), and intake sets them on new issues. - A merge made with
GITHUB_TOKENstarts no workflow, so the release App must enable the auto-merge, or the publish run never starts.
Existing tool considered
GitHub auto-merge (gh pr merge --auto --squash, the enablePullRequestAutoMerge mutation) merges a pull request when its required checks pass. release-please-action returns the release pull request in its pr output. Nothing is built beyond one workflow step.
Proposed remedy
After Run release-please, a step in the same job reads the pull request of the pushed commit and the issues it closes. When one of them is labeled release/now, or an issue is labeled priority/p0-critical, or type/security with priority/p0-critical or priority/p1-high, the step enables auto-merge on the release pull request with the App token. The label release/now joins .github/labels.yml. RELEASE_CYCLE.md states the rule, and AGENTS.md drops the agent restriction on the release files. A contract test holds the step, its token, its labels and the documented rule.
Proposed design
Problem statement
A critical security or bug fix release requires a person to merge the release pull request. This delays urgent releases.
Acceptance criteria
- Criterion 1: The release pull request auto-merges when an issue labeled 'priority/p0-critical' is closed by the commit.
Verification: A commit that closes an issue with label 'priority/p0-critical' triggers a workflow step that enables auto-merge on the release pull request. - Criterion 2: The release pull request auto-merges when an issue labeled 'type/security' with 'priority/p0-critical' or 'priority/p1-high' is closed by the commit.
Verification: A commit that closes an issue with labels 'type/security' and either 'priority/p0-critical' or 'priority/p1-high' triggers a workflow step that enables auto-merge on the release pull request. - Criterion 3: The release pull request auto-merges when a commit is labeled with 'release/now'.
Verification: A commit with label 'release/now' triggers a workflow step that enables auto-merge on the release pull request.
Key questions
- What labels exist for critical issues?: The labels 'priority/p0-critical', 'priority/p1-high' and 'type/security' exist. [sources: .github/labels.yml]
- What is the release workflow file?: The release workflow is defined in .github/workflows/release.yml. [sources: .github/workflows/release.yml]
- Does the repository allow auto-merge on pull requests?: Yes, the repository allows auto-merge with 'allow_auto_merge: true'. [sources: .github/workflows/release.yml]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
- StatusShow more project fieldsReady
Activity
dan-petty commentedon Oct 23, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate adds a new feature to release process.The change supports urgent fixes and critical security updates.Users benefit from faster release of critical fixes without manual merge.The change needs new workflow steps and label handling.dan-petty commentedon Oct 26, 2026
Status set to Ready at aece067 (see proposed design in issue body).