Add CI template security-release-finalize-non-critical-rules
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
- Add CI template security-release-finalize-non-critical-rules
Many jobs in the finalize stage have the same rule to run when it is not a critical release. Thus, this commit creates a new template to avoid repeating, following our guideline.
Testing
The following tests prove the pipeline behavior does not change.
Non-critical pipeline
All the jobs that this MR changes are still in the pipeline:
https://gitlab.com/gitlab-org/release-tools/-/pipelines/1468838420
Critical pipeline
When SECURITY=critical
, these jobs disappear
https://gitlab.com/gitlab-org/release-tools/-/pipelines/1468843278
Edited by Dat Tang