name: "Pull Request Labeler" on: pull_request_target: types: - opened - reopened - synchronize - ready_for_review jobs: triage: permissions: contents: read pull-requests: write if: github.event.pull_request.draft == false runs-on: ubuntu-22.04 steps: - uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler.yml