From d9e56c212b338a8cec5092c44f840229c7b4ebc1 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:41:26 -0400 Subject: [PATCH] Fix if logic for checkout step (#126) --- .github/workflows/build-unified.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 13faaa0..26c0822 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -9,8 +9,6 @@ on: workflow_call: inputs: server_branch: - description: "Server branch name to deploy (examples: 'master', 'rc', 'feature/sm')" - required: true type: string default: master is_workflow_call: @@ -20,7 +18,6 @@ on: inputs: server_branch: description: "Server branch name to deploy (examples: 'master', 'rc', 'feature/sm')" - required: true type: string default: master pull_request: @@ -41,7 +38,7 @@ jobs: ref: master - name: Checkout Repository - workflow_dispatch - if: ${{ github.event_name == 'workflow_dispatch' }} + if: ${{ inputs.is_workflow_call != true }} uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - name: Get server branch to checkout