ci: Custom PR labeler implementation #30
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |