From 3c0076682c29953cb05fdc62f0546d061bd4703a Mon Sep 17 00:00:00 2001 From: Robert Main <50675045+rmainwork@users.noreply.github.com> Date: Thu, 8 May 2025 10:03:49 -0400 Subject: [PATCH 1/2] Trigger repo sync workflow on pushes to main Add trigger to `repo-sync` workflow to trigger sync workflow on pushes to `main`. --- .github/workflows/repo-sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 9acd93ce2d..f162747054 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -10,6 +10,8 @@ on: workflow_dispatch: schedule: - cron: '0 */2 * * *' # Runs every 2 hours + push: + branches: main permissions: contents: write From ca7284054b27475adffc03a9265770b3d5c75f14 Mon Sep 17 00:00:00 2001 From: Robert Main <50675045+rmainwork@users.noreply.github.com> Date: Thu, 8 May 2025 15:44:43 -0400 Subject: [PATCH 2/2] Remove cron trigger for repo sync Since the repo sync is triggered on pushes to `main`, the 2 hour sync is no longer required and can be removed as it is producing excessive quantities of PRs --- .github/workflows/repo-sync.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index f162747054..969c1fb814 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -8,8 +8,6 @@ name: Repo Sync on: workflow_dispatch: - schedule: - - cron: '0 */2 * * *' # Runs every 2 hours push: branches: main