Skip to content

Commit

Permalink
Add labels file (#21)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dbkr authored Sep 11, 2024
1 parent 03004a5 commit d337fba
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- name: "A-Timesheet-1"
description: "Log any time spent on this into the A-Timesheet-1 project"
color: "#5319E7"
- name: "backport staging"
description: "Label to automatically backport PR to staging branch"
color: "#B60205"
- name: "Dependencies"
description: "Pull requests that update a dependency file"
color: "#0366d6"
- name: "Sponsored"
color: "#b506d8"
- name: "T-Deprecation"
description: "A pull request that makes something deprecated"
color: "#98e6ae"
- name: "X-Blocked"
description: "The PR cannot move forward in any capacity until an action is made"
color: "ff7979"
- name: "X-Breaking-Change"
color: "#ff7979"
- name: "X-Upcoming-Release-Blocker"
description: "This does not affect the current release cycle but will affect the next one"
color: "#e99695"
- name: "Z-Community-PR"
description: "Issue is solved by a community member's PR"
color: "#ededed"
- name: "Z-Experiment"
description: "Experimental PR, primarily up for its Netlify build, high likelihood of never making it beyond here."
color: "#b60205"
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:
- develop
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 d337fba

Please sign in to comment.