diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index ac4c97728..1c1e47948 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -63,3 +63,14 @@ jobs: issue-number: ${{ github.event.issue.number }} body: | Due to PrimeTek's demanding roadmap for PrimeVue and the limited bandwidth of the core team, this issue is available for anyone to work on. [**Make sure to reference this issue in your pull request.**](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) :sparkles: Thank you for your contribution! :sparkles: + + - name: Duplicate + if: contains(github.event.label.name, 'Duplicate') + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment, close-issue' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + This issue has been marked as a duplicate and has been closed. Please refer to the original issue for updates. Thank you! +