github.com/gogf/gf/v2@v2.7.4/.github/workflows/issue-remove-need-more-details.yml (about)

     1  # 规则描述:将需要提供更多细节且暂未关闭的 issue,在 issue 作者评论后,移除 need more details 标签
     2  name: Issue Remove Need More Details
     3  
     4  on:
     5    issues:
     6      types: [edited]
     7    issue_comment:
     8      types: [created, edited]
     9  
    10  env: # 设置环境变量
    11    TZ: Asia/Shanghai #时区(设置时区可使页面中的`最近更新时间`使用时区时间)
    12  
    13  permissions:
    14    contents: read
    15  
    16  jobs:
    17    issue-remove-need-more-details:
    18      permissions:
    19        issues: write # for actions-cool/issues-helper to update issues
    20       # pull-requests: write # for actions-cool/issues-helper to update PRs
    21      runs-on: ubuntu-latest
    22      steps:
    23        - name: remove need more details
    24          if: github.event.issue.state == 'open' && github.actor == github.event.issue.user.login
    25          uses: actions-cool/issues-helper@v3
    26          with:
    27            actions: 'remove-labels'
    28            issue-number: ${{ github.event.issue.number }}
    29            labels: 'need more details'