Skip to content

Commit

Permalink
Add sync labels script and local labels file for compound specific la…
Browse files Browse the repository at this point in the history
…bels (#328)
  • Loading branch information
langleyd authored Oct 4, 2024
1 parent 652c050 commit ca71352
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- name: "A-Component"
description: "Component implementation"
color: "bfd4f2"
- name: "A-Design-Tokens"
color: "bfd4f2"
- name: "A-Developer-Experience"
color: "B3C648"
- name: "A-Documentation"
color: "bfd4f2"
- name: "A-Icons"
color: "bfd4f2"
- name: "A-Process"
color: "D67373"
- name: "P-Android"
description: "Platform Android"
color: "7D3A0A"
- name: "P-Figma"
description: "Platform Figma"
color: "7D3A0A"
- name: "P-iOS"
description: "Platform iOS"
color: "7D3A0A"
- name: "P-Web"
description: "Platform Web"
color: "7D3A0A"
- name: "T-Component-Design"
color: "98e6ae"
- name: "T-Component-Development"
color: "98e6ae"
- name: "T-New-Component"
description: "First implementations of components."
color: "98e6ae"
- name: "T-Other"
description: "Questions, user support, anything else"
color: "98e6ae"
21 changes: 21 additions & 0 deletions .github/workflows/sync_labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Sync labels
on:
workflow_dispatch: {}
schedule:
- cron: "0 1 * * *" # 1am every day
push:
branches:
- main
paths:
- .github/labels.yml
jobs:
sync-labels:
uses: element-hq/element-meta/.github/workflows/sync-labels.yml@develop
with:
LABELS: |
element-hq/element-meta
.github/labels.yml
DELETE: true
WET: true
secrets:
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}

0 comments on commit ca71352

Please sign in to comment.