diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 7d660380cf6..f176b596d76 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -57,7 +57,7 @@ jobs: cd $HOME # first determine which branch of easybuild-framework repo to install BRANCH=develop - if [ "x$GITHUB_BASE_REF" = 'xmaster' ]; then BRANCH=master; fi + if [ "x$GITHUB_BASE_REF" = 'xmain' ]; then BRANCH=main; fi if [ "x$GITHUB_BASE_REF" = 'x4.x' ]; then BRANCH=4.x; fi echo "Using easybuild-framework branch $BRANCH (\$GITHUB_BASE_REF $GITHUB_BASE_REF)" @@ -90,7 +90,7 @@ jobs: EASYBUILD_MODULE_SYNTAX: ${{matrix.module_syntax}} run: | # pull in target so we can diff against it to obtain list of touched files - if [ "x$GITHUB_BASE_REF" != 'xmaster' ]; then git fetch -v origin ${GITHUB_BASE_REF}:${GITHUB_BASE_REF}; fi + if [ "x$GITHUB_BASE_REF" != 'xmain' ]; then git fetch -v origin ${GITHUB_BASE_REF}:${GITHUB_BASE_REF}; fi # initialize environment for modules tool if [ -f $HOME/moduleshome ]; then export MODULESHOME=$(cat $HOME/moduleshome); fi