Skip to content

Commit d4711bf

Browse files
committed
fix(issues): adapt batch labels scope access
1 parent 46f9a99 commit d4711bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/github/issues_granular.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ func GranularBatchUpdateIssueLabels(t translations.TranslationHelperFunc) invent
771771
Required: []string{"owner", "repo", "operations"},
772772
},
773773
},
774-
[]scopes.Scope{scopes.Repo},
774+
scopes.RequireAll(scopes.Repo),
775775
func(ctx context.Context, deps ToolDependencies, _ *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
776776
owner, err := RequiredParam[string](args, "owner")
777777
if err != nil {

0 commit comments

Comments
 (0)