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
fix: separate public repo visibility from OAuth scopes
Keep public_repo as a fixed-token visibility capability while requiring repo for per-call OAuth challenges. Challenge only missing scopes for workflow pushes.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
-**add_issue_comment** - Add comment to issue or pull request
878
-
-**OAuth Challenge Scopes**: `public_repo`
878
+
-**OAuth Challenge Scopes**: `repo`
879
879
-`body`: Comment content. Required unless reaction is provided. (string, optional)
880
880
-`comment_id`: The numeric ID of the issue or pull request comment to react to. Use this for reactions to comments; omit it to react to the issue or pull request itself. Cannot be combined with body. (integer, optional)
881
881
-`issue_number`: Issue or pull request number to comment on or react to. (number, required)
@@ -906,7 +906,7 @@ The following sets of tools are available:
906
906
-`repo`: The name of the repository (string, required)
907
907
908
908
-**issue_write** - Create or update issue/pull request
909
-
-**OAuth Challenge Scopes**: `public_repo`
909
+
-**OAuth Challenge Scopes**: `repo`
910
910
-`assignees`: Usernames to assign to this issue (string[], optional)
911
911
-`body`: Issue body content (string, optional)
912
912
-`duplicate_of`: Issue number that this issue is a duplicate of. Required when state_reason is 'duplicate'. (number, optional)
@@ -1154,7 +1154,7 @@ The following sets of tools are available:
1154
1154
-`repo`: Repository name (string, required)
1155
1155
1156
1156
-**create_pull_request** - Open new pull request
1157
-
-**OAuth Challenge Scopes**: `public_repo`
1157
+
-**OAuth Challenge Scopes**: `repo`
1158
1158
-`base`: Branch to merge into (string, required)
1159
1159
-`body`: PR description (string, optional)
1160
1160
-`draft`: Create as draft PR (boolean, optional)
@@ -1257,7 +1257,7 @@ The following sets of tools are available:
0 commit comments