From 00900c27ae98d15b46234af2fc8cac0897583f5c Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Sat, 24 Jan 2026 06:33:38 +1030 Subject: [PATCH] delete(workflow): remove automatic reopening of closed issues on new comments --- .github/workflows/reopen-comment.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/reopen-comment.yaml diff --git a/.github/workflows/reopen-comment.yaml b/.github/workflows/reopen-comment.yaml deleted file mode 100644 index 81191ae..0000000 --- a/.github/workflows/reopen-comment.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# Automatically reopens closed issues when someone leaves a new comment. -# Useful for Utterances — lets users continue discussions on resolved topics. - -name: Reopen on comment - -on: - issue_comment: - types: [created] - -jobs: - reopen: - if: > - github.event.issue.state == 'closed' && - github.event.comment.user.login != github.event.issue.closed_by.login - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@v7 - with: - script: | - await github.rest.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - state: 'open' - }) \ No newline at end of file