diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 637a78be..1059aac7 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,18 +5,15 @@ # file with configuration. For more information, see: # https://github.com/actions/labeler -name: Labeler -on: [pull_request] +name: "Pull Request Labeler" +on: +- pull_request_target jobs: - label: - - runs-on: ubuntu-latest + labeler: permissions: contents: read pull-requests: write - + runs-on: ubuntu-latest steps: - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}"