Skip to content

PR Labeler (on GitHub-hosted) #29

PR Labeler (on GitHub-hosted)

PR Labeler (on GitHub-hosted) #29

Workflow file for this run

name: PR Labeler
run-name: PR Labeler ${{ (vars.RUNS_ON_SELF_HOSTED == null && '(on GitHub-hosted)') || '(on self-hosted)' }}
on:
pull_request:
types: opened
jobs:
pr-labeler:
runs-on: ${{ (vars.RUNS_ON_SELF_HOSTED == null && 'ubuntu-latest') || 'self-hosted' }}
permissions:
contents: read
pull-requests: write
timeout-minutes: 30
steps:
- uses: TimonVS/pr-labeler-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}