Skip to content

Fix PAT required scopes for reclaiming mannequins#45116

Open
krsnaSuraj wants to merge 2 commits into
github:mainfrom
krsnaSuraj:fix-mannequin-pat-scopes
Open

Fix PAT required scopes for reclaiming mannequins#45116
krsnaSuraj wants to merge 2 commits into
github:mainfrom
krsnaSuraj:fix-mannequin-pat-scopes

Conversation

@krsnaSuraj

Copy link
Copy Markdown

Why:

Closes: #45071

The documentation for reclaiming mannequins listed `admin:org` as the only required PAT scope for organization owners. However, reporters have found that `admin:org` alone results in a FORBIDDEN error when retrieving mannequins. The correct required scopes are `repo`, `admin:org`, `workflow` — matching the scopes required for other migration tasks like running a repository migration and downloading a migration log.

What's being changed:

Updated the required PAT scopes for "Reclaiming mannequins" in the `github-pat-required-scopes.md` reusable:

  • `admin:org` → `repo`, `admin:org`, `workflow`

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Reporter found that admin:org alone is insufficient
and causes a FORBIDDEN error. The correct scopes
are repo, admin:org, workflow, matching the other
migration tasks.
Copilot AI review requested due to automatic review settings July 11, 2026 19:37
@welcome

welcome Bot commented Jul 11, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Jul 11, 2026
@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
migrations/ado/manage-access.md fpt
ghec
fpt
ghec
from reusable
migrations/using-github-enterprise-importer/migrating-from-bitbucket-server-to-github-enterprise-cloud/managing-access-for-a-migration-from-bitbucket-server.md fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Required PAT scope to reclaim Mannequins listed is incorrect

2 participants