Skip to content

Commit 8844593

Browse files
authored
Added labels declaratively (#379)
1 parent 7facd0d commit 8844593

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.github/labels.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
- color: d73a4a
2+
description: Something isn't working
3+
name: bug
4+
- color: e5c420
5+
description: ""
6+
name: core
7+
- color: 0366d6
8+
description: Pull requests that update a dependency file
9+
name: dependencies
10+
- color: 0075ca
11+
description: Improvements or additions to documentation
12+
name: documentation
13+
- color: cfd3d7
14+
description: This issue or pull request already exists
15+
name: duplicate
16+
- color: a2eeef
17+
description: New feature or request
18+
name: enhancement
19+
- color: 7057ff
20+
description: Good for newcomers
21+
name: good first issue
22+
- color: "008672"
23+
description: Extra attention is needed
24+
name: help wanted
25+
- color: e4e669
26+
description: This doesn't seem right
27+
name: invalid
28+
- color: 50e087
29+
description: ""
30+
name: new-rule
31+
- color: d876e3
32+
description: Further information is requested
33+
name: question
34+
- color: f78ff0
35+
description: ""
36+
name: waiting-for-release
37+
- color: ffffff
38+
description: This will not be worked on
39+
name: wontfix

.github/workflows/github.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Sync labels
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
- .github/labels.yml
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: micnncim/action-label-syncer@v1
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
manifest: .github/labels.yml
18+
prune: false

0 commit comments

Comments
 (0)