From c7e726cd2985310332f0f7678b5f30297984df4e Mon Sep 17 00:00:00 2001 From: bnavetta Date: Wed, 27 May 2026 09:52:48 +0000 Subject: [PATCH 1/4] Add gh pr merge auto flag completion Co-Authored-By: Oz --- command-signatures/json/gh.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command-signatures/json/gh.json b/command-signatures/json/gh.json index 8156bd9f..617f007a 100644 --- a/command-signatures/json/gh.json +++ b/command-signatures/json/gh.json @@ -1865,6 +1865,10 @@ } }, "options": [ + { + "name": "--auto", + "description": "Automatically merge only after necessary requirements are met" + }, { "name": [ "-d", From 485a4ad474701f14d5d8148e1372238a58a301d7 Mon Sep 17 00:00:00 2001 From: Ben Navetta Date: Wed, 27 May 2026 11:09:18 +0100 Subject: [PATCH 2/4] Update gh.json --- command-signatures/json/gh.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command-signatures/json/gh.json b/command-signatures/json/gh.json index 617f007a..96022839 100644 --- a/command-signatures/json/gh.json +++ b/command-signatures/json/gh.json @@ -1869,6 +1869,10 @@ "name": "--auto", "description": "Automatically merge only after necessary requirements are met" }, + { + "name": "--disable-auto", + "description": "Disable auto-merge for this pull request" + }, { "name": [ "-d", From a53b4126ab3f4fcaaa4c075d46537d2b76ce611a Mon Sep 17 00:00:00 2001 From: bnavetta Date: Wed, 27 May 2026 10:13:39 +0000 Subject: [PATCH 3/4] Add remaining gh pr merge flags Co-Authored-By: Oz --- command-signatures/json/gh.json | 66 +++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/command-signatures/json/gh.json b/command-signatures/json/gh.json index 96022839..904641d9 100644 --- a/command-signatures/json/gh.json +++ b/command-signatures/json/gh.json @@ -1865,14 +1865,56 @@ } }, "options": [ + { + "name": "--admin", + "description": "Use administrator privileges to merge a pull request that does not meet requirements" + }, + { + "name": [ + "-A", + "--author-email" + ], + "description": "Email text for merge commit author", + "args": { + "name": "text" + } + }, { "name": "--auto", "description": "Automatically merge only after necessary requirements are met" }, + { + "name": [ + "-b", + "--body" + ], + "description": "Body text for the merge commit", + "args": { + "name": "text" + } + }, + { + "name": [ + "-F", + "--body-file" + ], + "description": "Read body text from file (use \"-\" to read from standard input)", + "args": { + "name": "file", + "template": "filepaths" + } + }, { "name": "--disable-auto", "description": "Disable auto-merge for this pull request" }, + { + "name": "--match-head-commit", + "description": "Commit SHA that the pull request head must match to allow merge", + "args": { + "name": "SHA" + } + }, { "name": [ "-d", @@ -1900,6 +1942,30 @@ "--squash" ], "description": "Squash the commits into one commit and merge it into the base branch" + }, + { + "name": [ + "-t", + "--subject" + ], + "description": "Subject text for the merge commit", + "args": { + "name": "text" + } + }, + { + "name": "--help", + "description": "Show help for command" + }, + { + "name": [ + "--repo", + "-R" + ], + "description": "Select another repository using the [HOST/]OWNER/REPO format", + "args": { + "name": "[HOST/]OWNER/REPO" + } } ] }, From c75f9da30a32c9815c5cce07bcf65751de7c0aee Mon Sep 17 00:00:00 2001 From: bnavetta Date: Wed, 27 May 2026 10:16:08 +0000 Subject: [PATCH 4/4] Remove inherited gh pr merge flags Co-Authored-By: Oz --- command-signatures/json/gh.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/command-signatures/json/gh.json b/command-signatures/json/gh.json index 904641d9..74a0eac5 100644 --- a/command-signatures/json/gh.json +++ b/command-signatures/json/gh.json @@ -1952,20 +1952,6 @@ "args": { "name": "text" } - }, - { - "name": "--help", - "description": "Show help for command" - }, - { - "name": [ - "--repo", - "-R" - ], - "description": "Select another repository using the [HOST/]OWNER/REPO format", - "args": { - "name": "[HOST/]OWNER/REPO" - } } ] },