From 42f2be93d5c4ab150a76aba3a813d23eeb96ac62 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Thu, 11 Apr 2024 19:57:13 +0200 Subject: [PATCH] Make META_REPO_BRANCH optional in `cicd-docker-build-and-distribute` --- .github/workflows/cicd-docker-build-and-distribute.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-docker-build-and-distribute.yml b/.github/workflows/cicd-docker-build-and-distribute.yml index 6ce2be22..90f0d182 100644 --- a/.github/workflows/cicd-docker-build-and-distribute.yml +++ b/.github/workflows/cicd-docker-build-and-distribute.yml @@ -58,7 +58,7 @@ on: default: '' description: Target meta repo to sync metadata changes META_REPO_BRANCH: - required: true + required: false type: string default: '' description: Target meta repo branch name @@ -177,7 +177,8 @@ jobs: if: >- ${{ inputs.UPLOAD_BUILD_ARTIFACTS == 'true' && - inputs.META_REPO != '' + inputs.META_REPO != '' && + inputs.META_REPO_BRANCH != '' }} needs: - build-and-distribute