diff --git a/.github/workflows/model-build-test-ci.yml b/.github/workflows/model-build-test-ci.yml index 06c6c55..f24a745 100644 --- a/.github/workflows/model-build-test-ci.yml +++ b/.github/workflows/model-build-test-ci.yml @@ -3,14 +3,18 @@ name: Test model build on: workflow_dispatch: pull_request: - branches: - - "master" - - "access-esm1.5" + branches: + - "master" + - "access-esm1.5" push: - + branches: + - "master" + - "access-esm1.5" jobs: build: name: Build ${{ github.repository }} via spack uses: access-nri/build-ci/.github/workflows/model-1-build.yml@main + with: + rhs-branch: ${{ (github.base_ref == 'access-esm1.5' || github.ref_name == 'access-esm1.5') && 'access-esm1.5' }} permissions: packages: read