diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 65fd96a772d08..c88c97222122d 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,7 +1,7 @@ name: "Pull Request Automatic Labeler" on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened] jobs: @@ -11,7 +11,8 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/labeler@v6 + - name: Run Labeler + uses: actions/labeler@v6 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler.yml