Skip to content

Commit 8074339

Browse files
committed
Sync repo labels with predefined list
1 parent 610cd54 commit 8074339

2 files changed

Lines changed: 83 additions & 0 deletions

File tree

.github/labels.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# config for https://github.com/marketplace/actions/github-labeler
2+
3+
- name: attention:help wanted
4+
description: Extra attention is needed
5+
color: bfdadc
6+
from_name: help wanted
7+
8+
- name: attention:invalid
9+
description: This doesn't seem right
10+
color: ea2357
11+
from_name: invalid
12+
13+
- name: ci:skip-changelog
14+
description: Add this label to skip changelog file check
15+
color: 04990f
16+
17+
- name: kind:feature
18+
description: New feature or request
19+
color: 389a3f
20+
21+
- name: kind:improvement
22+
description: Improvement of some existing feature
23+
color: 1a92c2
24+
from_name: enhancement
25+
26+
- name: kind:question
27+
description: Further information is requested
28+
color: 0e857c
29+
from_name: question
30+
31+
- name: resolution:duplicate
32+
description: This issue or pull request already exists
33+
color: cfd3d7
34+
from_name: duplicate
35+
36+
- name: resolution:wontfix
37+
description: This will not be worked on
38+
color: ec103b
39+
from_name: wontfix
40+
41+
- name: type:ci
42+
description: CI-related changes
43+
color: cdb0bd
44+
45+
- name: type:dependency
46+
description: Dependency-related changes
47+
color: 214efe
48+
49+
- name: type:documentation
50+
description: Improvements or additions to documentation
51+
color: 6b9f54
52+
from_name: documentation
53+
54+
- name: type:tests
55+
description: Tests-related changes
56+
color: 5cca5b
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Repo labels sync
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- .github/labels.yml
9+
- .github/workflows/repo-labels-sync.yml
10+
pull_request:
11+
paths:
12+
- .github/labels.yml
13+
- .github/workflows/repo-labels-sync.yml
14+
15+
jobs:
16+
labeler:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
22+
- name: Run Labeler
23+
uses: crazy-max/ghaction-github-labeler@v5
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
yaml-file: .github/labels.yml
27+
dry-run: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)