From ec4f310c216aca88af122f76059d3ed1b809dd5a Mon Sep 17 00:00:00 2001 From: Mohammad Wahbeh Date: Wed, 9 Sep 2026 23:38:09 +0300 Subject: [PATCH] ci: enable the push and schedule triggers for label sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 6 of the onboarding order in dexpace/.github labels/README.md. The first real sync has been read and applied, so the automatic triggers can come on. The Monday cron is the part that matters. Between dispatches a label edited in the web UI stays edited; the cron is what re-heals it. Without it the YAML in dexpace/.github is advisory rather than authoritative. Merging this fires a pruning sync immediately: the push trigger matches this path, and LABELS_PRUNE is set on this repo. That is a no-op today because the repo already converged — 42 labels present, adapters and v1/MVP already gone, javascript excluded — so the merge doubles as a reconciliation check. --- .github/workflows/labels.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 472b45d..b740c11 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -13,7 +13,7 @@ # 3. dispatch with dry_run on. read the plan. # 4. dispatch with dry_run off. labels are created. # 5. set repo variable LABELS_PRUNE=true, dispatch once more. strays deleted. -# 6. uncomment the push and schedule triggers below. +# 6. uncomment the push and schedule triggers below. <- DONE for this repo # # Step 6 is not optional. Between dispatches, a label edited in the web UI # stays edited — the Monday cron is what re-heals it. Skip step 6 and the YAML @@ -32,12 +32,11 @@ name: Labels on: - # --- Uncomment at step 6, once the first real sync has been read. --- - # push: - # branches: [main] - # paths: ['.github/workflows/labels.yml'] - # schedule: - # - cron: '0 4 * * 1' # Monday reconciliation + push: + branches: [main] + paths: ['.github/workflows/labels.yml'] + schedule: + - cron: '0 4 * * 1' # Monday reconciliation workflow_dispatch: inputs: dry_run: