Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit d337fba

Browse files
authored
Add labels file (#21)
* Add labels file Copied from the old matrix-org react-sdk labels (which weren't synced from github it seems). * Add label sync workflow * Remove labels that are defined in element-meta
1 parent 03004a5 commit d337fba

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/labels.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
- name: "A-Timesheet-1"
2+
description: "Log any time spent on this into the A-Timesheet-1 project"
3+
color: "#5319E7"
4+
- name: "backport staging"
5+
description: "Label to automatically backport PR to staging branch"
6+
color: "#B60205"
7+
- name: "Dependencies"
8+
description: "Pull requests that update a dependency file"
9+
color: "#0366d6"
10+
- name: "Sponsored"
11+
color: "#b506d8"
12+
- name: "T-Deprecation"
13+
description: "A pull request that makes something deprecated"
14+
color: "#98e6ae"
15+
- name: "X-Blocked"
16+
description: "The PR cannot move forward in any capacity until an action is made"
17+
color: "ff7979"
18+
- name: "X-Breaking-Change"
19+
color: "#ff7979"
20+
- name: "X-Upcoming-Release-Blocker"
21+
description: "This does not affect the current release cycle but will affect the next one"
22+
color: "#e99695"
23+
- name: "Z-Community-PR"
24+
description: "Issue is solved by a community member's PR"
25+
color: "#ededed"
26+
- name: "Z-Experiment"
27+
description: "Experimental PR, primarily up for its Netlify build, high likelihood of never making it beyond here."
28+
color: "#b60205"

.github/workflows/sync-labels.yml

Lines changed: 21 additions & 0 deletions
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+
- develop
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)