mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-03-15 01:20:09 -04: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:
|
jobs:
|
||||||
reopen:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v7
|
- uses: actions/github-script@v7
|
||||||
|
|||||||
Reference in New Issue
Block a user