Skip to content

Commit 963feb2

Browse files
authored
chore: add sync-labels workflow (#39)
* chore: add sync-labels workflow * chore: fix whitespace
1 parent b2d94de commit 963feb2

File tree

2 files changed

+125
-0
lines changed

2 files changed

+125
-0
lines changed

.github/labels.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
- name: "Area: Build"
2+
description: "Includes dependencies"
3+
color: "#7bc86c"
4+
5+
- name: "Area: CI"
6+
description: "CI, CD, test automation, issue management, etc."
7+
color: "#7bc86c"
8+
9+
- name: "Area: Documentation"
10+
description: "Improvements or additions to documentation"
11+
color: "#7bc86c"
12+
aliases:
13+
- "docs"
14+
- "documentation"
15+
16+
- name: "Area: Examples"
17+
description: "Improvements or additions to examples"
18+
color: "#7bc86c"
19+
20+
- name: "Area: Generator"
21+
description: "Improvements or additions to the generator"
22+
color: "#7bc86c"
23+
24+
- name: "Area: Helpers"
25+
description: "Improvements or additions to the help"
26+
color: "#7bc86c"
27+
28+
- name: "Area: Specification"
29+
description: "Related to the API spec used to generate client code"
30+
color: "#7bc86c"
31+
32+
- name: "Area: Tests"
33+
description: "Related to testing"
34+
color: "#7bc86c"
35+
36+
- name: "Area: Transport"
37+
description: "Related to the transport layer"
38+
color: "#7bc86c"
39+
40+
- name: "Area: Unclassified"
41+
description: "Unclassified"
42+
color: "#7bc86c"
43+
44+
- name: "Category: Bug"
45+
description: "Something isn't working"
46+
color: "#5ba4cf"
47+
aliases:
48+
- "bug"
49+
50+
- name: "Category: Enhancement"
51+
description: "New feature or request"
52+
color: "#5ba4cf"
53+
aliases:
54+
- "enhancement"
55+
56+
- name: "Category: Feature"
57+
description: "New feature"
58+
color: "#5ba4cf"
59+
60+
- name: "Category: Not an issue"
61+
description: "This doesn't seem right"
62+
color: "#5ba4cf"
63+
aliases:
64+
- "invalid"
65+
66+
- name: "Category: Question"
67+
description: "Not an issue but a question. May lead to enhancing docs"
68+
color: "#5ba4cf"
69+
aliases:
70+
- "question"
71+
72+
- name: "good first issue"
73+
color: "#7057ff"
74+
description: "A good issue for new contributors."
75+
76+
- name: "duplicate"
77+
color: "#cfd3d7"
78+
description: "This issue or pull request already exists"
79+
80+
- name: "help wanted"
81+
color: "#008672"
82+
description: "Extra attention is needed"
83+
84+
- name: "State: Awaiting Response"
85+
color: "#D93F0B"
86+
description: "Awaiting user response."
87+
88+
- name: "State: Blocked"
89+
color: "#D93F0B"
90+
description: "Blocked by external dependencies."
91+
92+
- name: "State: Stale"
93+
color: "#D93F0B"
94+
description: "Stale."
95+
96+
- name: "wontfix"
97+
color: "#ffffff"
98+
description: "This will not be worked on"

.github/workflows/sync-labels.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Sync labels
2+
on:
3+
workflow_dispatch:
4+
5+
push:
6+
branches:
7+
- "main"
8+
paths:
9+
- ".github/labels.yml"
10+
11+
permissions:
12+
issues: write
13+
14+
jobs:
15+
labels:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
sparse-checkout: .github/labels.yml
22+
23+
- uses: EndBug/label-sync@v2
24+
with:
25+
config-file: .github/labels.yml
26+
delete-other-labels: true
27+
dry-run: true

0 commit comments

Comments
 (0)