Closed tarpanpathak closed 2 years ago
We are also experiencing the same issue. I believe gitlab released something recently that might have changed the response received from the endpoint
The commits ref_name seems to returning a 400 validation error
https://gitlab.com/api/v4/projects/<redacted>/repository/commits?ref_name=<redacted>...<redacted>
{"error":"ref_name is invalid"}
Thanks for reporting! @cliedeman do you know anything about this?
Looks like its a regression and a fix is on its way.
Not sure how to tell when it will land
In case this is helpful for anyone else, the GitLab team has fixed the issue and our automation is working normally again. Apologies for the false alarm. I'll close this out.
Hello,
First of, thank you for releasing this tool. It has been a great experience thus far.
Without any changes to our environment, we are currently getting the following error when using
semantic-release
:When I make an API call using the same token to the endpoint above, i.e.
https://gitlab.com/api/v4/projects/<project_id>/repository/commits
, I get a valid (i.e. HTTP/200) response.Here are specific details for our environment:
CI tool: GitLab CI GitLab CI version:
GitLab Enterprise Edition 14.8.0-pre
Semantic Release version:2.17.2
Semantic Release command:semantic-release --token ${token} --version-file --allow-no-changes
Note: the tool runs inside of DockerWhat am I doing wrong?