I created new PAT today. Repo is public
git push
Username for 'https://github.com': MilenkoMarkovic
Password for 'https://[email protected]':
remote: Permission to MilenkoMarkovic/github-action-maven-example-start.git denied to MilenkoMarkovic.
fatal: unable to access 'https://github.com/MilenkoMarkovic/github-action-maven-example-start/': The requested URL returned error: 403
Why?
CodePudding user response:
With the introduction of fine-grained personal access tokens, make sure you have created a PAT which is not limited to one repository.
Do create a classic PAT, with a repo scope, and that PAT should allow you to push to your repository.