From 5f3fd222f97b908e25797796a04c43e05337f9cc Mon Sep 17 00:00:00 2001 From: SURAJ KUMAR Date: Sun, 12 Jul 2026 01:06:50 +0530 Subject: [PATCH] Fix PAT scopes for reclaiming mannequins 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. --- .../enterprise-migration-tool/github-pat-required-scopes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md b/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md index d886ebe1a3d1..5d2aeae60429 100644 --- a/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md +++ b/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md @@ -8,4 +8,4 @@ Task | Organization owner | Migrator Assigning the migrator role for repository migrations | `admin:org` | {% octicon "dash" aria-label="Not applicable" %} Running a repository migration (destination organization) | `repo`, `admin:org`, `workflow` | `repo`, `read:org`, `workflow` Downloading a migration log | `repo`, `admin:org`, `workflow` | `repo`, `read:org`, `workflow` -Reclaiming mannequins | `admin:org` | {% octicon "dash" aria-label="Not applicable" %} +Reclaiming mannequins | `repo`, `admin:org`, `workflow` | {% octicon "dash" aria-label="Not applicable" %}