Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add issue open check #8236

Merged
merged 3 commits into from
Mar 24, 2021
Merged

ci: add issue open check #8236

merged 3 commits into from
Mar 24, 2021

Conversation

xrkffgg
Copy link
Member

@xrkffgg xrkffgg commented Mar 21, 2021

当 issue 新开 或者编辑时。

检测当前 issue 的标题除了模板自带内容外,是否有其他的内容。

  • 检测失败,即不包含其他内容,则新建评论,并关闭 issue
  • 检测成功,查询 issue title 重复度
    • 默认查询 更新时间 100 天以内的所有 issue ,有参数可修改,若需调整,可说
    • 重复度 阈值 0.7

效果可查看:

actions-cool/test-issues-helper#70 (有自定义内容 )

默认 body 格式为 :- [#${number}][${title}][${similarity}]

@xrkffgg
Copy link
Member Author

xrkffgg commented Mar 21, 2021

这个 surge preview 回头我修复一下

@chenshuai2144 chenshuai2144 merged commit 78f7477 into ant-design:master Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants