From 90379674440113de7053460d8ea912274e04d69d Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 27 Dec 2020 14:24:55 -0500 Subject: [PATCH] workflows/triage: fix handling outdated PRs --- .github/workflows/triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 72ef5cb95a024..0beb8afcd47dd 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -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 }}