Skip to content

Commit 692a3c7

Browse files
Replace labeler workflow with GH labeler (#3966)
* Rename labeler.yml to pr-labeler.yml * set config path to point to renamed labeler * Create label-issue.yml * Create issue-labeler.yml * Delete autoLabelIssue.yaml * Add all the other labels * fix certain labels not being applied
1 parent c5be5e5 commit 692a3c7

File tree

5 files changed

+84
-104
lines changed

5 files changed

+84
-104
lines changed

.github/issue-labeler.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
'B: visual':
2+
- '(visual bug)'
3+
4+
'B: Unofficial Download':
5+
- '(AUR|Chocolatey|FreeTubeCordova|PortableApps|winget|Scoop|Snapcraft|MPR|Nix)'
6+
7+
'B: keyboard control':
8+
- '(keyboard control not working)'
9+
10+
'B: text/string':
11+
- '(text/string issue)'
12+
13+
'B: content not loading':
14+
- '(content not loading)'
15+
16+
'B: accessibility':
17+
- '(accessibility issue)'
18+
19+
'B: usability':
20+
- '(usability issue)'
21+
22+
'B: crash':
23+
- '(causes crash)'
24+
25+
'B: feature stopped working':
26+
- '(feature stopped working)'
27+
28+
'B: inconsistent behavior':
29+
- '(inconsistent behavior)'
30+
31+
'B: data loss':
32+
- '(data loss)'
33+
34+
'B: race condition':
35+
- '(race condition)'
36+
37+
'B: API issue':
38+
- '(API issue)'
39+
40+
'B: developer mode':
41+
- '(only happens in developer mode)'
42+
43+
'E: improvement existing feature':
44+
- '(improvement to existing feature)'
45+
46+
'E: new optional setting':
47+
- '(new optional setting)'
48+
49+
'E: visual improvement':
50+
- '(visual improvement)'
51+
52+
'E: display more information':
53+
- '(display more information to user)'
54+
55+
'E: ease of use improvement':
56+
- '(ease of use improvement)'
57+
58+
'E: support external software':
59+
- '(support for external software)'
60+
61+
'E: new feature':
62+
- '(new feature)'
63+
64+
'E: keyboard shortcut':
65+
- '(new keyboard shortcut)'
File renamed without changes.

.github/workflows/autoLabelIssue.yaml

-104
This file was deleted.

.github/workflows/label-issue.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Issue Labeler"
2+
on:
3+
issues:
4+
types: [opened]
5+
6+
permissions:
7+
issues: write
8+
contents: read
9+
10+
jobs:
11+
triage:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: github/[email protected]
15+
with:
16+
configuration-path: .github/issue-labeler.yml
17+
enable-versioned-regex: 0
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label-pr.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ jobs:
1414
- uses: actions/labeler@v4
1515
with:
1616
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
configuration-path: .github/pr-labeler.yml

0 commit comments

Comments
 (0)