Skip to content

Commit 4fa8a3b

Browse files
timrogersCopilot
andauthored
Mark Agent Merge enrollment tool as idempotent
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent f4d2084 commit 4fa8a3b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎pkg/github/__toolsnaps__/update_pull_request_agent_merge_enrollment.snap‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"annotations": {
33
"destructiveHint": true,
4-
"idempotentHint": false,
4+
"idempotentHint": true,
55
"openWorldHint": true,
66
"readOnlyHint": false,
77
"title": "Update Pull Request Agent Merge Enrollment"

‎pkg/github/pull_request_agent_merge.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func GranularUpdatePullRequestAgentMergeEnrollment(t translations.TranslationHel
5757
Title: t("TOOL_UPDATE_PULL_REQUEST_AGENT_MERGE_ENROLLMENT_USER_TITLE", "Update Pull Request Agent Merge Enrollment"),
5858
ReadOnlyHint: false,
5959
DestructiveHint: new(true),
60+
IdempotentHint: true,
6061
OpenWorldHint: new(true),
6162
},
6263
InputSchema: &jsonschema.Schema{

0 commit comments

Comments
 (0)