Skip to content

Update "if-jh" rules

Zhiyuan Lu requested to merge gitlab-jh/jh-team/gitlab:update-jh-rule into master

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:

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.


cc @mtan-gitlab @icbd

Edited by Zhiyuan Lu

Merge request reports