github.com/wangyougui/gf/v2@v2.6.5/.github/workflows/issue-labeled.yml (about)

     1  ## 规则描述:当 issue 被标记为 help wanted 时,增加评论
     2  
     3  name: Issue Labeled
     4  
     5  on:
     6    issues:
     7      types: [labeled]
     8  
     9  env: # 设置环境变量
    10    TZ: Asia/Shanghai # 时区(设置时区可使页面中的`最近更新时间`使用时区时间)
    11  
    12  jobs:
    13    reply-labeled:
    14      runs-on: ubuntu-latest
    15      steps:
    16        - name: contribution welcome
    17          if: github.event.label.name == 'help wanted'
    18          uses: actions-cool/issues-helper@v3
    19          with:
    20            actions: "create-comment, remove-labels"
    21  #          token: ${{ secrets.GF_TOKEN }}
    22            issue-number: ${{ github.event.issue.number }}
    23            body: |
    24              Hello @${{ github.event.issue.user.login }}. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
    25              你好 @${{ github.event.issue.user.login }}。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。