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
lockdown mode fails to check permissions of custom bot accounts when retrieving pull request reviews #3777
failed to check lockdown mode: failed to get user permission level: GET https://api.github.com/repos/<org>/<repo>/collaborators/<bot-user>/permission: 404 <bot-user> is not a user
Notably <bot-user> is missing the <bot-user>[bot] suffix from it's login, hence the permission check fails.
Affected version
https://api.githubcopilot.com/mcp/
Steps to reproduce the behavior
Create a PR with a PR review from a bot user
Call the get_review_comments tool with lockdown
See error
Expected vs actual behavior
Permissions for bot users should check the original login <bot-user>[bot], without stripping the [bot] suffix.
Logs
It seems that the GraphQL's Actor Login field differs from the Rest API's user.login` field.
Activity