From 3c90fc616e7d4cbabe8af825404367beca69a2a9 Mon Sep 17 00:00:00 2001 From: Lyon <88232613+pikasTech@users.noreply.github.com> Date: Mon, 22 Jun 2026 14:15:49 +0800 Subject: [PATCH] fix: point pr create next step to one-command merge (#655) Co-authored-by: Codex --- scripts/src/gh.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/src/gh.ts b/scripts/src/gh.ts index 3dcc8dde..4b14b402 100644 --- a/scripts/src/gh.ts +++ b/scripts/src/gh.ts @@ -4821,7 +4821,7 @@ function prMetadataSummary(metadata: GitHubPullRequestGraphqlMetadata): Record { return { - runnerAllowed: ["pr create", "pr update/edit", "pr comment", "pr read/view", "pr close", "pr merge after explicit command authorization and preflight success"], + runnerAllowed: ["pr create", "pr update/edit", "pr comment", "pr read/view", "pr close", "pr merge after explicit command authorization"], ordinaryRunnerFinalActionAllowed: true, commanderRequiredWhen: ["conflicts", "failed required checks", "production/runtime/release/security/database scope", "ambiguous task boundary"], hostAllowedToolsAfterReview: ["bun scripts/cli.ts gh pr merge", "GitHub UI merge/close"], @@ -5025,7 +5025,7 @@ function prPreflightPolicy(repo: string, number: number): Record