mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-01-26 12:22:00 +01:00
fix(workflow): dont reopen if the commenter closed the issue
This commit is contained in:
4
.github/workflows/reopen-comment.yaml
vendored
4
.github/workflows/reopen-comment.yaml
vendored
@@ -9,7 +9,9 @@ on:
|
||||
|
||||
jobs:
|
||||
reopen:
|
||||
if: github.event.issue.state == 'closed'
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user