Do not run release-environments on tagging
What does this MR do and why?
Do not run release-environments on tagging
Previously, we only ran release-environments with the canonical GitLab repo. Because the security MRs were only synced to canonical GitLab repo gitlab-org/gitlab
after tagging, release-environments didn't run on any commit. In that situation, we need to run release-environments on tagging to validate the security MRs.
We now run release-environments on security mirror gitlab-org/security/gitlab
after finishing gitlab-com/gl-infra/delivery#20285 (closed). Thus, merging happens before tagging, so all the security MRs are validated by release-environments. It is not needed to rerun release-environments once more when tagging.
This commit also avoids possible failures because the trigger build template .gitlab/ci/cng/main.gitlab-ci.yml
does not support run on tagging yet.
Ref: gitlab-com/gl-infra/delivery#20374 (closed)
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.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.