jenkins-x/go-scm

GitLab response codes

manuelstein opened this issue · 0 comments

Hi, I'm having trouble with a GitLab v13.x instance and the release API call:
https://example.com/api/v4/projects/<owner>%2F<project>/releases/<sometag>

Any tag that does not exist is responded to with a 403 Forbidden, only tags that exist would work.
This ruins the use of IsScmNotFound.

Would a change make sense that considers "Forbidden" errors as not found?