Skip to content

ci: Custom PR labeler implementation #30

ci: Custom PR labeler implementation

ci: Custom PR labeler implementation #30

Workflow file for this run

name: '🏷️ PR File Labeler'
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Label PR based on file changes
uses: actions/labeler@v5
with:
configuration-path: '.github/labeler.yml'
repo-token: ${{ secrets.GH_TOKEN }}
sync-labels: true