Merge branch 'jennykim/release-environment-trigger-from-security' into 'master'
What does this MR do and why?
This is a retry of !154669 (merged), after it was reverted because of causing https://gitlab.com/gitlab-com/gl-infra/production/-/issues/18248, but with a fix mentioned in !154669 (comment 1988073228):
context 'when CI_PROJECT_PATH is not gitlab-org/security/gitlab' do
before do
stub_env('CI_PROJECT_PATH', 'gitlab-org/gitlab')
end
so that the spec does not fail when running on other repo (i.e. gitlab-org/security/gitlab
)
Ref: https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/20303
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Dat Tang