diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index f19beae..f957cd8 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,7 +6,9 @@ # https://github.com/actions/labeler name: Labeler -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] jobs: label: @@ -15,6 +17,4 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/labeler@v5