issue-labeler.yml

 1name: Issue Labeler
 2
 3on:
 4  issues:
 5    types: [opened]
 6  pull_request:
 7    types: [opened]
 8  workflow_dispatch: # allows manual triggering
 9
10permissions:
11  issues: write
12  contents: read
13
14jobs:
15  triage:
16    runs-on: ubuntu-latest
17    steps:
18      - uses: github/issue-labeler@v3.4
19        with:
20          configuration-path: .github/labeler.yml
21          enable-versioned-regex: 0
22          include-title: 1
23          repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}