You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f2bea80
Browse filesBrowse the repository at this point in the historyBrowse files
Use consistent snake_case inputs for the new tool, title-case its metadata, and clarify auto-merge defaults and repository requirements without changing the existing merge tool API.
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/enable_pull_request_auto_merge.snap
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
"annotations": {
3
3
"idempotentHint": false,
4
4
"readOnlyHint": false,
5
-
"title": "Enable pull request auto-merge"
5
+
"title": "Enable Pull Request Auto-Merge"
6
6
},
7
-
"description": "Enable auto-merge for a pull request that cannot be merged immediately because merge requirements are pending. GitHub merges it once those requirements are met. If merge_method is omitted, GitHub defaults to merge.",
7
+
"description": "Enable auto-merge for a pull request that cannot be merged immediately because merge requirements are pending. GitHub merges it once those requirements are met. Returns an error if auto-merge is not enabled for the repository.",
8
8
"icons": [
9
9
{
10
10
"mimeType": "image/png",
@@ -27,12 +27,12 @@
27
27
"description": "Title for merge commit",
28
28
"type": "string"
29
29
},
30
-
"expectedHeadSha": {
30
+
"expected_head_sha": {
31
31
"description": "The expected SHA of the pull request's HEAD ref",
32
32
"type": "string"
33
33
},
34
34
"merge_method": {
35
-
"description": "Merge method",
35
+
"description": "Merge method. Defaults to merge when omitted.",
Description: t("TOOL_ENABLE_PULL_REQUEST_AUTO_MERGE_DESCRIPTION", "Enable auto-merge for a pull request that cannot be merged immediately because merge requirements are pending. GitHub merges it once those requirements are met. If merge_method is omitted, GitHub defaults to merge."),
24
-
InputSchema: mergePullRequestInputSchema(),
34
+
Description: t("TOOL_ENABLE_PULL_REQUEST_AUTO_MERGE_DESCRIPTION", "Enable auto-merge for a pull request that cannot be merged immediately because merge requirements are pending. GitHub merges it once those requirements are met. Returns an error if auto-merge is not enabled for the repository."),
0 commit comments