Skip to content

Commit

Permalink
auto close custom issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Mar 31, 2024
1 parent de2e8ae commit 6e1bed8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e1bed8

Please sign in to comment.