diff --git a/.github/workflows/close-issue.yml b/.github/workflows/close-issue.yml new file mode 100644 index 00000000..29a6544f --- /dev/null +++ b/.github/workflows/close-issue.yml @@ -0,0 +1,18 @@ +name: Close Issue + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' + +jobs: + close-issues: + runs-on: ubuntu-latest + steps: + - name: Needs Reproduction + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issues' + token: ${{ secrets.GITHUB_TOKEN }} + labels: 'M: Needs Reproduction' + inactive-day: 3 diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml index 0003f89b..c90930e6 100644 --- a/.github/workflows/label-issue.yml +++ b/.github/workflows/label-issue.yml @@ -8,8 +8,8 @@ jobs: reply-labeled: runs-on: ubuntu-latest steps: - - name: needs reproduction - if: github.event.label.name == 'needs reproduction' + - name: Needs Reproduction + if: github.event.label.name == 'M: Needs Reproduction' uses: actions-cool/issues-helper@v3 with: actions: 'create-comment'