From 43242a5257b55f44e7c61aed4819fe336520126e Mon Sep 17 00:00:00 2001 From: Tim Parsons Date: Thu, 22 Dec 2022 16:44:12 -0500 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f00f3350..10feeef5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,10 +23,20 @@ jobs: uses: actions/checkout@v2 - name: Get breedbase_dockerfile + if: startsWith(steps.extract_branch.outputs.branch, 'feature/') || startsWith(steps.extract_branch.outputs.branch, 'bug/') uses: actions/checkout@master with: repository: Breeding-Insight/breedbase_dockerfile path: breedbase_dockerfile + ref: 'develop' + + - name: Get breedbase_dockerfile + if: startsWith(steps.extract_branch.outputs.branch, 'hotfix/') + uses: actions/checkout@master + with: + repository: Breeding-Insight/breedbase_dockerfile + path: breedbase_dockerfile + ref: 'master' - name: Get the submodules working-directory: ./breedbase_dockerfile -- 2.11.4.GIT