Skip to content

Commit

Permalink
Use pull_request_target instead of pull_request
Browse files Browse the repository at this point in the history
Fixes autoassign reviewer for PRs from forked repos.
  • Loading branch information
Vipul authored and GitHub committed Jun 21, 2022
1 parent a080a3b commit a0efc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Auto Assign'
on:
pull_request:
pull_request_target:
types: [opened, ready_for_review]

jobs:
Expand Down

0 comments on commit a0efc56

Please sign in to comment.