diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index 9c71d52fc7a..c81aa762376 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -16,7 +16,7 @@ name: Label PR on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened] jobs: @@ -26,6 +26,7 @@ jobs: contents: read pull-requests: write steps: + - uses: actions/checkout@v4 - uses: actions/labeler@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }}