Skip to content

GitHub Workflows

GitHub Workflows #7

Workflow file for this run

# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on:
pull_request:
types: [ready_for_review, opened, synchronize, reopened]
permissions:
# All other permissions are set to none
checks: write
contents: read
pull-requests: write
jobs:
label:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"