希望增加允许general用户管理由自己创建的任务的功能 #5704
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Wontfix | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
lock-issue: | |
runs-on: ubuntu-latest | |
if: github.event.label.name == 'wontfix' | |
steps: | |
- name: Create comment | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'create-comment' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}, this issue will not be worked on and will be closed. | |
你好 @${{ github.event.issue.user.login }},这不会被处理,将被关闭。 | |
- name: Close issue | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'close-issue' | |
token: ${{ secrets.GITHUB_TOKEN }} |