From bcacbc6c75c53a9271fc599cb8e3eae598efa46a Mon Sep 17 00:00:00 2001 From: Der_Googler <54764558+DerGoogler@users.noreply.github.com> Date: Thu, 2 Jan 2025 10:55:39 +0100 Subject: [PATCH] [skip ci] Update sync_build_deploy.yml --- .github/workflows/sync_build_deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync_build_deploy.yml b/.github/workflows/sync_build_deploy.yml index 1fbc083a..b01c2894 100644 --- a/.github/workflows/sync_build_deploy.yml +++ b/.github/workflows/sync_build_deploy.yml @@ -12,9 +12,16 @@ on: workflow_dispatch: inputs: repo_name: - required: true + required: false description: 'Repo Name (Internal only)' - + run_sync: + description: "Run Sync" + type: choice + required: false + default: 'false' + options: + - 'true' + - 'false' permissions: contents: write @@ -28,7 +35,7 @@ concurrency: cancel-in-progress: false env: - IS_SYNC: ${{ github.event_name == 'schedule' || startsWith(github.event.head_commit.message, '[sync]') }} + IS_SYNC: ${{ inputs.run_sync == 'true' || github.event_name == 'schedule' || startsWith(github.event.head_commit.message, '[sync]') }} jobs: sync: