Merge pull request #10156 from Rylan12/triage-fix

workflows/triage: fix handling outdated PRs
This commit is contained in:
Rylan Polster 2020-12-29 09:31:18 -05:00 committed by GitHub
commit 8945803432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ jobs:
- name: Review pull request
if: >
(github.event_name == 'pull_request' || github.event_name == 'pull_request_target') &&
github.event.action != 'closed'
github.event.action != 'closed' && github.event.pull_request.state != 'closed'
uses: actions/github-script@v3
with:
github-token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}