Skip to content

Commit 7a92975

Browse files
committed
ci: add labels workflow
1 parent 6016493 commit 7a92975

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

.github/labels.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
- name: 'good first issue'
2+
color: '5319e7'
3+
description: 'Good for newcomers'
4+
aliases: []
5+
6+
- name: 'help wanted'
7+
color: '008672'
8+
description: 'Extra attention is needed'
9+
aliases: []
10+
11+
- name: 'status: pending'
12+
color: c5def5
13+
description: 'More info is needed before deciding what to do.'
14+
aliases: []
15+
16+
- name: 'status: pinned'
17+
color: 0052cc
18+
description: 'Issues and PRs that should not be labeled as stale or closed if they remain inactive.'
19+
aliases: []
20+
21+
- name: 'status: stale'
22+
color: fbca04
23+
description: 'Inactive issues and PRs.'
24+
aliases: ['stale']
25+
26+
- name: 'status: wontfix'
27+
color: ffffff
28+
description: 'This will not be worked on.'
29+
aliases: ['wontfix']
30+
31+
- name: 'type: automation'
32+
color: 2fc904
33+
description: 'About actions workflows and automation.'
34+
aliases: []
35+
36+
- name: 'type: bug'
37+
color: d73a4a
38+
description: 'Verified problems that need to be worked on.'
39+
aliases: ['bug']
40+
41+
- name: 'type: dependencies'
42+
color: 0366d6
43+
description: 'Pull requests that update a dependency file'
44+
aliases: []
45+
46+
- name: 'type: duplicate'
47+
color: cfd3d7
48+
description: 'This issue or pull request already exists.'
49+
aliases: ['duplicate']
50+
51+
- name: 'type: enhancement'
52+
color: a2eeef
53+
description: 'New feature or request.'
54+
aliases: ['enhancement']
55+
56+
- name: 'type: invalid'
57+
color: e4e669
58+
description: "This doesn't seem right."
59+
aliases: ['invalid']
60+
61+
- name: 'type: maintenance'
62+
color: 0075ca
63+
description: "Documentation improvements and code refactoring, doesn't affect functionality."
64+
aliases: ['documentation']
65+
66+
- name: 'type: not a bug'
67+
color: 0e8a16
68+
description: 'Reports that happen not be our fault.'
69+
aliases: ['not a bug']
70+
71+
- name: 'type: question'
72+
color: d876e3
73+
description: 'Further information is requested.'
74+
aliases: ['question']

.github/workflows/labels.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync labels
2+
on:
3+
push:
4+
paths:
5+
- '.github/labels.yml'
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync:
10+
name: Run EndBug/label-sync
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: EndBug/label-sync@main
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
config-file: '.github/labels.yml'

0 commit comments

Comments
 (0)