From c0299d98c38fbe2100cb874d3311ae29ae1b5c75 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Mon, 27 Nov 2023 20:51:15 +0100 Subject: [PATCH] Add cron and push trigger --- .github/workflows/sync-labels.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 1c5fc34..cd7f42d 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -1,12 +1,13 @@ name: Sync labels on: workflow_dispatch: {} - # Disabled for now while we're testing - # push: - # branches: - # - develop - # paths: - # - .github/labels.yml + 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