File tree Expand file tree Collapse file tree 3 files changed +46
-29
lines changed
Expand file tree Collapse file tree 3 files changed +46
-29
lines changed Original file line number Diff line number Diff line change 11version : v1
22labels :
3- - label : ' 📒 Documentation'
4- matcher :
5- title : ' \b(docs|doc:|\[doc\]|README|typos|comment|documentation)\b'
6- - label : ' ☢️ Bug'
7- matcher :
8- title : ' \b(fix|race|bug|missing|correct)\b'
9- - label : ' 🧹 Updates'
10- matcher :
11- title : ' \b(improve|update|refactor|deprecated|remove|unused|test)\b'
12- - label : ' 🤖 Dependencies'
13- matcher :
14- title : ' \b(bumb|bdependencies)\b'
15- - label : ' ✏️ Feature'
16- matcher :
17- title : ' \b(feature|feat|create|implement|add)\b'
18- - label : ' 🤔 Question'
19- matcher :
20- title : ' \b(question|how)\b'
3+ - label : ' 📒 Documentation'
4+ matcher :
5+ title : ' /(docs|doc:|\[doc\]|README|typos|comment|documentation)/i'
6+ - label : ' ☢️ Bug'
7+ matcher :
8+ title : ' /(fix|bug)/i'
9+ - label : ' 🧹 Updates'
10+ matcher :
11+ title : ' /(improve|chore|improvements|missing|update|refactor|deprecated|remove|unused|test)/i'
12+ - label : ' 🤖 Dependencies'
13+ matcher :
14+ title : ' /(bump|dependencies)/i'
15+ files :
16+ - ' go.mod'
17+ - ' go.sum'
18+ - ' **/go.mod'
19+ - ' **/go.sum'
20+ - label : ' ✏️ Feature'
21+ matcher :
22+ title : ' /(feature|feat|create|implement|add|support)/i'
23+ - label : ' 📝 Proposal'
24+ matcher :
25+ title : ' /(proposal|idea|request|suggest)/i'
26+ - label : ' 🤔 Question'
27+ matcher :
28+ title : ' /(question|how)/i'
29+
30+
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ changelog:
1212 - title : ' 🧹 Updates'
1313 labels :
1414 - ' 🧹 Updates'
15+ - ' ⚡️ Performance'
1516 - title : ' 🐛 Bug Fixes'
1617 labels :
1718 - ' ☢️ Bug'
Original file line number Diff line number Diff line change 11name : Auto labeler
2+
23on :
3- issues :
4- types : [ opened, edited, milestoned ]
5- pull_request_target :
6- types : [ opened ]
4+ issues :
5+ types : [opened, edited, milestoned]
6+ pull_request_target :
7+ types : [opened, edited, reopened, synchronize]
8+ workflow_dispatch :
79permissions :
8- contents : read
9- issues : write
10- pull-requests : write
11- statuses : write
12- checks : write
10+ # Setting up permissions in the workflow to limit the scope of what it can do. Optional!
11+ contents : read # the config file
12+ issues : write # for labeling issues (on: issues)
13+ pull-requests : write # for labeling pull requests (on: pull_request_target or on: pull_request)
14+ statuses : write # to generate status
15+ checks : write # to generate status
1316
1417jobs :
1518 labeler :
1619 runs-on : ubuntu-latest
1720 steps :
1821 - name : Check Labels
1922 id : labeler
20- uses : fuxingloh/multi-labeler@v4
23+ uses : fuxingloh/multi-labeler@b15a54460c38f54043fa75f7b08a0e2aa5b94b5b # v4.0.0
2124 with :
22- github-token : ${{secrets.GITHUB_TOKEN}}
25+ # Use a PAT so that applying labels can trigger downstream workflows
26+ # (GITHUB_TOKEN updates do not emit additional workflow events).
27+ github-token : ${{ secrets.ISSUE_PR_TOKEN }}
28+
You can’t perform that action at this time.
0 commit comments