Closed wavy-cat closed 7 months ago
I am also getting the same error. https://github.com/json-schema-org/landscape/actions/runs/8840354725/job/24275518908#step:8:25
@wavy-cat If you are running this on pull request from forked branch then this will through error as deployment and secrets are only valid in main repo and on push.
https://github.com/actions/runner/discussions/3039 https://stackoverflow.com/questions/73866908/github-actions-main-repository-secret-not-picked-up-from-pull-request-build
The issue was that the token had been added to the Environment secrets instead of the Repository secrets. Due to this oversight, the deployment did not function as intended. It was a mistake on my part, I'm sorry.
Authorization error on v3.4.1:
Workflow:
The token was created with all the necessary permissions and was added to Secrets.