Skip to content

Commit bec49a3

Browse files
fix(workflow): dont reopen if the commenter closed the issue
1 parent 131dc56 commit bec49a3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/reopen-comment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99

1010
jobs:
1111
reopen:
12-
if: github.event.issue.state == 'closed'
12+
if: >
13+
github.event.issue.state == 'closed' &&
14+
github.event.comment.user.login != github.event.issue.closed_by.login
1315
runs-on: ubuntu-latest
1416
steps:
1517
- uses: actions/github-script@v7

0 commit comments

Comments
 (0)