I am using personal token (SSO enabled) with package permissions to publish package to GitHub repo owned by organization.
I see package is published but I see HTTP 403 error. Running with stacktrace or debug options also don’t provide much info.
* What went wrong:
Execution failed for task ‘:publishMavenPublicationToGithubRepository’.
> Failed to publish publication ‘maven’ to repository ‘Github’
> Could not PUT ‘https://maven.pkg.github.com/X/gradle-plugins/com/X/A/B/1.0.10/B-1.0.10.jar’. Received status code 403 from server: Forbidden