blob: 78d56eb9ce173ce41986d7a8dbd048ffd1bfdf07 [file] [log] [blame] [edit]
name: "PR Labeler"
on:
pull_request_target:
types: ["opened", "reopened", "ready_for_review"]
permissions:
contents: read
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
if: ${{ github.event.pull_request.draft == false && github.event.pull_request.user.login != 'bazel-io' }}