Add latest changes from gitlab-org/gitlab@18-1-stable-ee

This commit is contained in:
GitLab Bot
2025-07-03 19:16:05 +00:00
parent 95263c0e22
commit 0cbb1adbbd
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ module Ci
private private
def success?(status) def success?(status)
(200..299).cover?(status) (200..299).cover?(status) || status == 302
end end
end end
end end

View File

@ -24,6 +24,7 @@ RSpec.describe Ci::JobToken::Middleware, feature_category: :secrets_management d
200 | true 200 | true
201 | true 201 | true
204 | true 204 | true
302 | true
400 | false 400 | false
403 | false 403 | false
404 | false 404 | false