This GitHub CLI extension is meant to unlock a migration source repository that was locked by GitHub Enterpise Importer during a migration.
gh extension install robandpdx/gh-unlock-source-repoexport GH_SOURCE_PAT="<token>"
export GITHUB_API_ENDPOINT="<ghes_api_endpoint>" # required if using GHES, ommit https, include /api/v3 eg: myghes.com/api/v3
gh unlock-source-repo --org <org> --repo <repository>gh unlock-source-repo --org mindfulrob --repo java-private-library