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
This commit is contained in:
David Baker
2024-09-11 14:17:23 +01:00
committed by GitHub
parent 03004a55fd
commit d337fba76e
2 changed files with 49 additions and 0 deletions

21
.github/workflows/sync-labels.yml vendored Normal file
View File

@@ -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 }}