You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my particular case, I experienced this problem because when executing the command conventional-github-releaser -p angular -r 0, no message appeared providing information on whether the release was completed successfully or not. Due to this, I re-executed the command and an error appeared.
It would be great if the developers added feedback on the operations. It would be very helpful. 🫶
Solution
The error "GitHubError: Validation Failed (422)" occurs when the release version already exists on GitHub or when the repository URL is invalid in the package.json.
To solve this error, you can try the following:
Verify that the release version does not exist on GitHub.
Verify that the repository URL is valid in the package.json .
Create a new token and select the public_repo scope (or repo to access private repositories). Run the following command to set the token as an environment variable: export CONVENTIONAL_GITHUB_RELEASER_TOKEN=<MY_TOKEN>
Run the command conventional-github-releaser -p angular -r 0
By following these steps, you should resolve your problem. I hope this helps.
Any hints as to why this is failing?
The text was updated successfully, but these errors were encountered: