# This workflow will triage pull requests and apply a label based on the # paths that are modified in the pull request. # # For more information, see: # https://github.com/actions/labeler name: Labeler on: pull_request_target: types: [opened, reopened] permissions: contents: read jobs: label: runs-on: ubuntu-latest permissions: contents: read pull-requests: write steps: - name: Harden the runner (Audit all outbound calls) uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 with: egress-policy: audit - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/labels.yml" sync-labels: false