Skip to content

Commit ca71352

Browse files
authored
Add sync labels script and local labels file for compound specific labels (#328)
1 parent 652c050 commit ca71352

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/labels.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
- name: "A-Component"
2+
description: "Component implementation"
3+
color: "bfd4f2"
4+
- name: "A-Design-Tokens"
5+
color: "bfd4f2"
6+
- name: "A-Developer-Experience"
7+
color: "B3C648"
8+
- name: "A-Documentation"
9+
color: "bfd4f2"
10+
- name: "A-Icons"
11+
color: "bfd4f2"
12+
- name: "A-Process"
13+
color: "D67373"
14+
- name: "P-Android"
15+
description: "Platform Android"
16+
color: "7D3A0A"
17+
- name: "P-Figma"
18+
description: "Platform Figma"
19+
color: "7D3A0A"
20+
- name: "P-iOS"
21+
description: "Platform iOS"
22+
color: "7D3A0A"
23+
- name: "P-Web"
24+
description: "Platform Web"
25+
color: "7D3A0A"
26+
- name: "T-Component-Design"
27+
color: "98e6ae"
28+
- name: "T-Component-Development"
29+
color: "98e6ae"
30+
- name: "T-New-Component"
31+
description: "First implementations of components."
32+
color: "98e6ae"
33+
- name: "T-Other"
34+
description: "Questions, user support, anything else"
35+
color: "98e6ae"

.github/workflows/sync_labels.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Sync labels
2+
on:
3+
workflow_dispatch: {}
4+
schedule:
5+
- cron: "0 1 * * *" # 1am every day
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- .github/labels.yml
11+
jobs:
12+
sync-labels:
13+
uses: element-hq/element-meta/.github/workflows/sync-labels.yml@develop
14+
with:
15+
LABELS: |
16+
element-hq/element-meta
17+
.github/labels.yml
18+
DELETE: true
19+
WET: true
20+
secrets:
21+
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}

0 commit comments

Comments
 (0)