From 98e860a8a81c7737f9f237ec565a0237f76d7119 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 29 Nov 2023 11:26:52 +0100 Subject: [PATCH 1/2] Enable label sync workflow --- .github/workflows/sync-labels.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index c0e1b980c3..7c9776e871 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -1,14 +1,13 @@ name: Sync labels on: workflow_dispatch: {} - # Disabled while we're setting this up and testing it - # schedule: - # - cron: "0 2 * * *" # 2am every day - # push: - # branches: - # - develop - # paths: - # - .github/labels.yml + schedule: + - cron: "0 1 * * *" # 1am every day + push: + branches: + - develop + paths: + - .github/labels.yml jobs: sync-labels: uses: vector-im/element-meta/.github/workflows/sync-labels.yml@develop From e493ef1cdb95df5240078e3cfeb4a541770f53d8 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 29 Nov 2023 11:44:55 +0100 Subject: [PATCH 2/2] Undry the workflow --- .github/workflows/sync-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 7c9776e871..8283545a33 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -16,6 +16,6 @@ jobs: vector-im/element-meta .github/labels.yml DELETE: true - WET: false + WET: true secrets: ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}