diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 7b80509..f464a60 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -1,7 +1,7 @@ name: Auto-assign PRs to author on: - pull_request: + pull_request_target: types: [opened, ready_for_review] jobs: @@ -25,4 +25,4 @@ jobs: run: | gh api \ repos/$OWNER/$REPO/issues/$NUMBER/assignees \ - -X POST -f assignees[]=$AUTHOR \ No newline at end of file + -X POST -f assignees[]=$AUTHOR