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 more #28519

Merged
merged 10 commits into from
Dec 25, 2020
Merged

ci: add issue more #28519

merged 10 commits into from
Dec 25, 2020

Conversation

xrkffgg
Copy link
Member

@xrkffgg xrkffgg commented Dec 24, 2020

  • 🤔 Need Reproduce 3天未活跃关闭 issue —— 1 天触发一次
  • check-inactive 给 30 天未活跃的 issue 增加 Inactive label —— 半月触发一次
  • issue 新增时
    • 校验是否包含 ant-design-issue-helper,否则加 label 评论 关闭
    • 校验标题是否满足 2 个数组,否则评论 关闭
  • 当 issue 更新、重新打开、进行评论、修改评论时,移除 Inactive label,不影响其他 label

@pr-triage pr-triage bot added the PR: draft label Dec 24, 2020
@ant-design-bot
Copy link
Contributor

ant-design-bot commented Dec 24, 2020

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 24, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 860d92c:

Sandbox Source
antd reproduction template Configuration

@github-actions
Copy link
Contributor

github-actions bot commented Dec 24, 2020

Size Change: 0 B

Total Size: 791 kB

ℹ️ View Unchanged
Filename Size Change
./dist/antd-with-locales.min.js 313 kB 0 B
./dist/antd.compact.min.css 66.7 kB 0 B
./dist/antd.dark.min.css 68 kB 0 B
./dist/antd.min.css 66.7 kB 0 B
./dist/antd.min.js 276 kB 0 B

compressed-size-action

@xrkffgg xrkffgg marked this pull request as ready for review December 24, 2020 06:04
@xrkffgg xrkffgg requested a review from afc163 December 24, 2020 06:04
actions: 'close-issues'
token: ${{ secrets.ANT_BOT_TOKEN }}
labels: '🤔 Need Reproduce'
inactive-day: 3
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方决定 关闭的 所需未活跃天数 @afc163

@xrkffgg
Copy link
Member Author

xrkffgg commented Dec 24, 2020

那个 action 触发的条件是 issue label ,

这边 有2个是定时触发,然后会查询 issues list ,处理满足条件的 issue

@xrkffgg xrkffgg marked this pull request as draft December 24, 2020 14:47
@xrkffgg
Copy link
Member Author

xrkffgg commented Dec 24, 2020

这个还需在加点

  • 国内 镜像判断
  • 增加了 inactive 标签的 issue ,当进行 更新 或 评论后,移除 inactive 标签,这个功能之前没有,我觉得应该加上。

@xrkffgg xrkffgg marked this pull request as ready for review December 25, 2020 01:43
@xrkffgg
Copy link
Member Author

xrkffgg commented Dec 25, 2020

@afc163 都加上了。 PTAL

@afc163 afc163 merged commit 43e97a7 into master Dec 25, 2020
@afc163 afc163 deleted the xrkffgg-patch-1 branch December 25, 2020 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants