-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Tag Version errors with Type: clojure.lang.ExceptionInfo and Use a file because the release data may be too large for an inline curl arg #56
Comments
It seems that it still grabs the WHOLE body, not just the last X commits . when you do max_commits. Also it seems like babashka.curl: status 422 for line 119 in /var/src/release-on-push-action/src/release_on_push_action/core.clj:119:5 |
According to Github's API, 422 implies that there client errors in the schema of the payload. source. The error seems to indicate that it could be an unexpected error in the JSON body to the
It appears that I attempted to resubmit this payload on my own test repo and was able to create the tag. I'll try to add some more logging in the next release to help debug this scenario. In the mean time, could you try re-running the job to rule out that this is an intermittent error on github's side? |
@mdcsaenz-ck The latest version v0.22.0 should have additional logging to show body of the Github API Response when creating a release fails. |
@mdcsaenz-ck Is your last release marked as a prerelease? I accidentally flipped mine to prerelease and got the 422 error |
Having this issue as well, @mdcsaenz-ck were you able to solve it? |
This is still an issue in 0.28.0 |
I have the same issue "babashka.curl: status 422" in v0.27.0 with message "Use a file because the release data may be too large for an inline curl arg" :( |
Any workaround to resolve the issue? |
Got the same issue just from nowhere. Any ideas on how to mitigate that? |
I encountered the same problem. After searching for some information, I found that the issue might be the permissions that actions have on the repository. You need to enable the read/write permissions. That's all. Settings -> Actions -> General -> Workflow permissions -> Read and write permissions |
Greetings, here is the code for the githubaction run I had and here:
Here is the error:
I also attempted with master and it broke. Any assistance will be helpful as its it hindering us from building :( Thank you.
The text was updated successfully, but these errors were encountered: