Adapt label-sync workflow to new version of upstream workflow

This commit is contained in:
Johannes Marbach 2023-11-29 08:34:04 +01:00
parent 43acadf2e3
commit 7cb841a4cd
2 changed files with 11 additions and 268 deletions

View file

@ -1,16 +1,22 @@
name: Sync labels
on:
workflow_dispatch: {}
push:
branches:
- develop
paths:
- .github/labels.yml
# Disabled while we're setting this up and testing it
# schedule:
# - cron: "0 2 * * *" # 2am every day
# push:
# branches:
# - develop
# paths:
# - .github/labels.yml
jobs:
sync-labels:
uses: vector-im/element-meta/.github/workflows/sync-labels.yml@develop
with:
LABELS: |
vector-im/element-meta
.github/labels.yml
DELETE: true
WET: false
secrets:
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}