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- # enable labeler on issues, prs, or both.
2- enable :
3- issues : false
4- prs : true
1+ bug :
2+ - title : ' fix*'
53
6- # Labels is an object where:
7- # - keys are labels
8- # - values are objects of { include: [ pattern ], exclude: [ pattern ] }
9- # - pattern must be a valid regex, and is applied globally to
10- # title + description of issues and/or prs (see enabled config above)
11- # - 'include' patterns will associate a label if any of these patterns match
12- # - 'exclude' patterns will ignore this label if any of these patterns match
13- labels :
14- ' bug ' :
15- include :
16- - ' \bbug[s]?\b'
17- - ' \bfix\b'
18- exclude : []
19- ' enhancement ' :
20- include :
21- - ' \bfeat\b'
22- - ' \bfeature\b'
23- exclude : []
4+ enhancement :
5+ - title : ' feat*'
6+
7+ ospp-2024 :
8+ - base-branch : ['ospp-2024/*']
9+
10+ document :
11+ - changed-files :
12+ - any-glob-to-any-file : ['docs/*', '**/*.md']
Original file line number Diff line number Diff line change 1- bug :
2- - title : ' fix*'
1+ # enable labeler on issues, prs, or both.
2+ enable :
3+ issues : false
4+ prs : true
35
4- enhancement :
5- - title : ' feat*'
6-
7- ospp-2024 :
8- - base-branch : ['ospp-2024/*']
9-
10- document :
11- - changed-files :
12- - any-glob-to-any-file : ['docs/*', '**/*.md']
6+ # Labels is an object where:
7+ # - keys are labels
8+ # - values are objects of { include: [ pattern ], exclude: [ pattern ] }
9+ # - pattern must be a valid regex, and is applied globally to
10+ # title + description of issues and/or prs (see enabled config above)
11+ # - 'include' patterns will associate a label if any of these patterns match
12+ # - 'exclude' patterns will ignore this label if any of these patterns match
13+ labels :
14+ ' bug ' :
15+ include :
16+ - ' \bbug[s]?\b'
17+ - ' \bfix\b'
18+ exclude : []
19+ ' enhancement ' :
20+ include :
21+ - ' \bfeat\b'
22+ - ' \bfeature\b'
23+ exclude : []
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- # sync-labels: true
12+ - uses : actions/labeler@v5
13+ with :
14+ repo-token : ${{ secrets.GITHUB_TOKEN }}
15+ configuration-path : ' .github/labeler-action.yml'
16+ sync-labels : true
1617 - name : Check Labels
1718 id : labeler
1819 uses : jimschubert/labeler-action@v2
1920 with :
2021 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
21- config-path : ' .github/labeler-action.yml'
2222 # - name: Apply labels based on PR title
2323 # uses: TimonVS/pr-labeler-action@v5
2424 # with:
You can’t perform that action at this time.
0 commit comments