✨ [Feature] 求增加快速批量选择种子进行批量下载 #52
This file contains hidden or 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: Help Wanted Auto Reply | |
| on: | |
| issues: | |
| types: [labeled] | |
| jobs: | |
| comment-on-help-wanted: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| contents: read | |
| steps: | |
| - name: Add comment when help wanted label is added | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const issue = context.payload.issue; | |
| const label = context.payload.label; | |
| if (label.name === "help wanted") { | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: issue.number, | |
| body: "该 issue 已被标记为 **help wanted**,如果 7 天内无人回复,将会自动关闭。" | |
| }); | |
| } |