Update "if-jh" rules
What does this MR do and why?
What
Update the matching method of Jihu project in Gitlab CI configuration - Change from fuzzy matching to exact matching.
Why
Background of this change: !118720 (comment 1371649187)
In the process of JiHu updating the FOSS rules, we found that the current if-jh
judgment rule can be improved:
- It is not very readable and not easy to see which projects are matched
- it matches a project that should not be matched -
https://gitlab.com/gitlab-jh/jh-team/gitlab
(why this project doesn't need to be matched?)
In the next MR, I need to copy this if-jh
judgment statement and cannot directly refer to if-jh
, so we'd better optimize if-jh
to avoid the spread of these problems.
How this change will behave in Jihu
No effect: https://jihulab.com/gitlab-cn/gitlab/-/merge_requests/1666/pipelines
Screenshots or screen recordings
No UI changes.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.