Merge pull request #10156 from Rylan12/triage-fix
workflows/triage: fix handling outdated PRs
This commit is contained in:
commit
8945803432
2
.github/workflows/triage.yml
vendored
2
.github/workflows/triage.yml
vendored
@ -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 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user