1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Update close-on-invalid-label.yaml

This commit is contained in:
Ramya Parimi
2021-09-14 08:41:24 -05:00
committed by GitHub
parent 17fcd4fb1d
commit 88feefdc2f

View File

@@ -23,7 +23,7 @@ jobs:
run: gh issue close ${{ github.event.issue.html_url }}
- name: Close PR
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request_target' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr close ${{ github.event.pull_request.html_url }}
run: gh pr close ${{ github.event.pull_request_target.html_url }}