Skip to content

Create script to run a command iff it's available on the PATH #768

Create script to run a command iff it's available on the PATH

Create script to run a command iff it's available on the PATH #768

Workflow file for this run

name: Labeler
on:
pull_request_target: ~
permissions: read-all
jobs:
label:
name: Label
permissions:
pull-requests: write # To assign labels
runs-on: ubuntu-22.04
steps:
- name: Harden runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
- name: Set labels on Pull Request
uses: actions/labeler@9fcb2c2f5584144ca754f8bfe8c6f81e77753375 # v4.1.0
with:
configuration-path: .github/labeler.yml
sync-labels: ""