2023-08-01 21:15:28 +08:00
|
|
|
|
# 规则描述:将需要提供更多细节且暂未关闭的 issue,在 issue 作者评论后,移除 need more details 标签
|
2022-08-15 21:52:33 +08:00
|
|
|
|
name: Issue Remove Need More Details
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
issues:
|
|
|
|
|
types: [edited]
|
|
|
|
|
issue_comment:
|
|
|
|
|
types: [created, edited]
|
|
|
|
|
|
|
|
|
|
env: # 设置环境变量
|
|
|
|
|
TZ: Asia/Shanghai #时区(设置时区可使页面中的`最近更新时间`使用时区时间)
|
|
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
issue-remove-need-more-details:
|
|
|
|
|
permissions:
|
2023-08-01 21:15:28 +08:00
|
|
|
|
issues: write # for actions-cool/issues-helper to update issues
|
|
|
|
|
# pull-requests: write # for actions-cool/issues-helper to update PRs
|
2022-08-15 21:52:33 +08:00
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: remove need more details
|
|
|
|
|
if: github.event.issue.state == 'open' && github.actor == github.event.issue.user.login
|
|
|
|
|
uses: actions-cool/issues-helper@v3
|
|
|
|
|
with:
|
|
|
|
|
actions: 'remove-labels'
|
|
|
|
|
issue-number: ${{ github.event.issue.number }}
|
|
|
|
|
labels: 'need more details'
|