From 55c01ad98dbcdd909af07532bf2491f6ad8bceb0 Mon Sep 17 00:00:00 2001 From: andrewvious Date: Sun, 22 Sep 2024 15:51:42 -0500 Subject: [PATCH] set to on pull-request for testing --- .github/workflows/sync_submodules.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync_submodules.yml b/.github/workflows/sync_submodules.yml index 061e0ea..1be014c 100644 --- a/.github/workflows/sync_submodules.yml +++ b/.github/workflows/sync_submodules.yml @@ -1,9 +1,17 @@ name: Update Submodules +# on: +# workflow_dispatch: # Allow manual triggering +# schedule: +# - cron: '0 0 * * *' # Execute at midnight every day on: - workflow_dispatch: # Allow manual triggering - schedule: - - cron: '0 0 * * *' # Execute at midnight every day + pull_request: + branches: + master + + concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: check_update_submodule_branch: