Skip to content

✨ [Feature] 求增加一个把种子文件下载到本地的功能 #45

✨ [Feature] 求增加一个把种子文件下载到本地的功能

✨ [Feature] 求增加一个把种子文件下载到本地的功能 #45

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 天内无人回复,将会自动关闭。"
});
}