diff --git a/.github/workflows/issuebot.yml b/.github/workflows/issuebot.yml index a5e4921..72ae5c6 100644 --- a/.github/workflows/issuebot.yml +++ b/.github/workflows/issuebot.yml @@ -31,7 +31,18 @@ jobs: steps: - uses: actions-cool/issues-helper@v3 with: - åactions: close-issue, create-comment + actions: close-issue, create-comment token: ${{ secrets.GITHUB_TOKEN }} body: | Hello @${{ github.event.issue.user.login }}. This issue is marked as `invalid` and closed. Please make sure you are reporting an issue and following the issue template. + issue-duplicate: + name: close duplicate issue + if: github.event.label.name == 'duplicate' + runs-on: ubuntu-latest + steps: + - uses: actions-cool/issues-helper@v3 + with: + actions: close-issue, create-comment + token: ${{ secrets.GITHUB_TOKEN }} + body: | + Hello @${{ github.event.issue.user.login }}. This issue is marked as `duplicate` and closed. Please make sure you have searched to see if an issue already exists for the bug you encountered.