From 6e1bed8ba233ee5db69e92c3a7ef3aeeb146e5ff Mon Sep 17 00:00:00 2001 From: Ing Date: Sun, 31 Mar 2024 18:06:08 +0800 Subject: [PATCH] auto close custom issue --- .github/workflows/issues.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index ef8503e7..65722073 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -232,6 +232,14 @@ jobs: ---- emoji: hooray + - name: Close Issues + if: env.iscustom == 'true' && success() + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issue' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + - name: Update Comment Fail if: env.iscustom == 'true' && failure() uses: actions-cool/issues-helper@v3