diff --git a/.github/workflows/creat_comment.yml b/.github/workflows/create_comment.yml similarity index 82% rename from .github/workflows/creat_comment.yml rename to .github/workflows/create_comment.yml index ca5d1fe3..4e86dec0 100644 --- a/.github/workflows/creat_comment.yml +++ b/.github/workflows/create_comment.yml @@ -1,4 +1,4 @@ -name: Create Comment When Add Labels +name: create_comment on: issues: @@ -16,4 +16,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} body: | - 你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将在3天后自动关闭! + 你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将会被关闭! diff --git a/.github/workflows/issue_close.yml b/.github/workflows/issue_close.yml deleted file mode 100644 index 686c5165..00000000 --- a/.github/workflows/issue_close.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Issue Close - -on: - schedule: - - cron: '0 16 * * *' - -permissions: - contents: read - -jobs: - issue-close-require: - permissions: - issues: write - runs-on: ubuntu-latest - steps: - - name: needs more info - uses: actions-cool/issues-helper@v3 - with: - actions: 'close-issues' - token: ${{ secrets.GITHUB_TOKEN }} - labels: 'need info' - inactive-day: 3 - body: | - 由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。 - - - name: invalid - uses: actions-cool/issues-helper@v3 - with: - actions: 'close-issues' - token: ${{ secrets.GITHUB_TOKEN }} - labels: 'invalid' - inactive-day: 3 - body: | - 由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。 diff --git a/.github/workflows/issue_content_check.yml b/.github/workflows/issue_content_check.yml index d72eb06a..667db200 100644 --- a/.github/workflows/issue_content_check.yml +++ b/.github/workflows/issue_content_check.yml @@ -1,4 +1,4 @@ -name: Issue Content Check +name: issue_content_check on: issues: