Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't request reviews on closed pull_requests #12524

Merged
2 changes: 1 addition & 1 deletion .github/workflows/request-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
request-review:
if: (github.event.action == 'created' && github.event.issue.state == 'open' && github.event.issue.draft == false && github.event.comment.user.login == github.event.issue.user.login) || (github.event.action != 'created' && github.event.pull_request.state == 'open' && github.event.pull_request.draft == false )
if: (github.event.issue.state == 'open' && github.event.issue.draft == false) && (github.event.action != 'created' || github.event.comment.user.login == github.event.issue.user.login)
ScottSuarez marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down
Loading