fix(ci/backport): check for event_name == "pull_request_target"

[skip ci]
This commit is contained in:
James McCoy 2021-11-30 22:18:58 -05:00
parent 828bf128a6
commit 50c8cc3020
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -12,7 +12,7 @@ jobs:
name: Backport Pull Request
if: >
github.repository_owner == 'neovim' && (
github.event_name == 'pull_request' &&
github.event_name == 'pull_request_target' &&
github.event.pull_request.merged
) || (
github.event_name == 'issue_comment' &&