File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .github/labeler.yml
2+
3+ version : v1
4+
5+ labels :
6+ - label : ' enhancement'
7+ sync : true # remove label if match failed, default: false (pull_request/issue only)
8+ matcher :
9+ # Matcher will match on any 8 matchers
10+ title : ' ^feat:.*'
11+ title : ' ^feature:.*'
12+ - label : ' bug'
13+ sync : true # remove label if match failed, default: false (pull_request/issue only)
14+ matcher :
15+ # Matcher will match on any 8 matchers
16+ title : ' ^fix:.*'
17+ - label : ' ospp-2024'
18+ sync : true # remove label if match failed, default: false (pull_request/issue only)
19+ matcher :
20+ # Matcher will match on any 8 matchers
21+ baseBranch : ' ^ospp-2024/.*'
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- - uses : actions/labeler@v5
13- with :
14- repo-token : ${{ secrets.GITHUB_TOKEN }}
15- configuration-path : ' .github/labeler-action.yml'
16- sync-labels : true
17- - name : Check Labels
18- id : labeler
19- uses : jimschubert/labeler-action@v2
12+ # - uses: actions/labeler@v5
13+ # with:
14+ # repo-token: ${{ secrets.GITHUB_TOKEN }}
15+ # configuration-path: '.github/labeler-action.yml'
16+ # sync-labels: true
17+ - uses : fuxingloh/multi-labeler@v4 # v4
2018 with :
21- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
19+ github-token : ${{ secrets.GITHUB_TOKEN }} # optional, default to '${{ github.token }}'
20+ config-path : .github/multi-labeler.yml # optional, default to '.github/labeler.yml'
21+ # - name: Check Labels
22+ # id: labeler
23+ # uses: jimschubert/labeler-action@v2
24+ # with:
25+ # GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2226 # - name: Apply labels based on PR title
2327 # uses: TimonVS/pr-labeler-action@v5
2428 # with:
You can’t perform that action at this time.
0 commit comments