Use pull_request_target instead of pull_request

Fixes autoassign reviewer for PRs from forked repos.
This commit is contained in:
Vipul 2022-06-21 22:38:08 +05:30 committed by GitHub
parent a080a3bda4
commit a0efc56c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
name: 'Auto Assign'
on:
pull_request:
pull_request_target:
types: [opened, ready_for_review]
jobs: