Skip to content

Commit 956be3c

Browse files
committed
fix: add explicit destructiveHint false to non-destructive write tools
1 parent c71961c commit 956be3c

17 files changed

Lines changed: 44 additions & 22 deletions

pkg/github/__toolsnaps__/add_comment_to_pending_review.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Add review comment to the requester's latest pending pull request review"

pkg/github/__toolsnaps__/add_issue_comment.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Add comment to issue or pull request"

pkg/github/__toolsnaps__/add_reply_to_pull_request_comment.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Add reply to pull request comment"

pkg/github/__toolsnaps__/create_branch.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Create branch"

pkg/github/__toolsnaps__/create_gist.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Create Gist"

pkg/github/__toolsnaps__/create_pull_request.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
}
1010
},
1111
"annotations": {
12+
"destructiveHint": false,
1213
"idempotentHint": false,
1314
"readOnlyHint": false,
1415
"title": "Open new pull request"

pkg/github/__toolsnaps__/create_repository.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Create repository"

pkg/github/__toolsnaps__/create_repository_ruleset.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Create repository ruleset"

pkg/github/__toolsnaps__/fork_repository.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Fork repository"

pkg/github/__toolsnaps__/request_copilot_review.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"annotations": {
3+
"destructiveHint": false,
34
"idempotentHint": false,
45
"readOnlyHint": false,
56
"title": "Request Copilot review"

0 commit comments

Comments
 (0)