shared_audits: ensure GitLab API has successful response
This commit is contained in:
parent
028b70c793
commit
6a0f2b663d
@ -74,7 +74,7 @@ module SharedAudits
|
||||
@gitlab_release_data ||= {}
|
||||
@gitlab_release_data[id] ||= begin
|
||||
out, _, status= curl_output(
|
||||
"--request", "GET", "https://gitlab.com/api/v4/projects/#{user}%2F#{repo}/releases/#{tag}"
|
||||
"https://gitlab.com/api/v4/projects/#{user}%2F#{repo}/releases/#{tag}", "--fail"
|
||||
)
|
||||
return unless status.success?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user