File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
2+ critical :
3+ - ' (critical|urgent)'
4+
5+ # Add/remove 'bug' label if issue contains the word 'bug'
6+ bug :
7+ - ' bug'
8+ - ' fix'
9+ - ' broken'
10+ - ' error'
11+ - ' issue'
12+ - ' problem'
13+ - ' crash'
14+
15+ # Add the triage label to all issues/PRs
16+ triage :
17+ - ' /.*/'
Original file line number Diff line number Diff line change 1+ name : " Issue Labeler"
2+ on :
3+ issues :
4+ types : [opened, edited]
5+ pull_request :
6+ types : [opened, edited]
7+
8+ permissions :
9+ issues : write
10+ contents : read
11+
12+ jobs :
13+ triage :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : github/issue-labeler@v3.4
17+ with :
18+ configuration-path : .github/labeler-config.yml
19+ enable-versioned-regex : 1
20+ sync-labels : 1
21+ include-title : 1
22+ include-body : 0
23+ repo-token : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments