未验证 提交 41de2a6f 编写于 作者: Q quicksilver 提交者: GitHub

Update mergify.yml for related issue (#6535)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 5568dffa
......@@ -88,16 +88,23 @@ pull_request_rules:
- name: Blocking PR if missing a related issue
conditions:
- base=master
- "-body~=issue: #[0-9]{1,4}"
- "-body~= #[0-9]{1,6}"
- "body~=(?!close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) #[0-9]{1,6}"
actions:
label:
add:
- do-not-merge/missing-related-issue
comment:
message: |
@{{author}} Please associate the related issue to the body of your Pull Request. (eg. “issue: #5”)
Make sure you don't include linking PR to issue [keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) in your pull request.
- name: Dismiss block label if related issue be added into PR
conditions:
- base=master
- "body~=issue: #[0-9]{1,4}"
- "body~= #[0-9]{1,6}"
- "-body~=(?!close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) #[0-9]{1,6}"
actions:
label:
remove:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册