From 7ba59c6d4394466f7343bb008f5ef04240056a1b Mon Sep 17 00:00:00 2001 From: edison Date: Fri, 16 Aug 2024 16:01:40 +0800 Subject: [PATCH] feat(workflows): auto close issues with `can't reproduce` label (#11631) * feat(workflows): auto close issues with 'can't reproduce' label * chore: update --- .../workflows/close-cant-reproduce-issues.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/close-cant-reproduce-issues.yml diff --git a/.github/workflows/close-cant-reproduce-issues.yml b/.github/workflows/close-cant-reproduce-issues.yml new file mode 100644 index 00000000000..8fb48f842d8 --- /dev/null +++ b/.github/workflows/close-cant-reproduce-issues.yml @@ -0,0 +1,21 @@ +name: Auto close issues with "can't reproduce" label + +on: + schedule: + - cron: '0 0 * * *' + +permissions: + issues: write + +jobs: + close-issues: + if: github.repository == 'vuejs/core' + runs-on: ubuntu-latest + steps: + - name: can't reproduce + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issues' + token: ${{ secrets.GITHUB_TOKEN }} + labels: "can't reproduce" + inactive-day: 3