diff --git a/.github/workflows/deploy-DEV.yml b/.github/workflows/deploy-DEV.yml index cbcfc2d7..013864cc 100644 --- a/.github/workflows/deploy-DEV.yml +++ b/.github/workflows/deploy-DEV.yml @@ -53,10 +53,17 @@ jobs: shell: bash run: .automation/upload-docker.sh + ####################### + # Get the branch name # + ####################### + - name: get the branch name + shell: bash + run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" + ################################ # Run Linter against code base # ################################ - name: Run Test Cases - uses: docker://admiralawkbar/super-linter:${{ GITHUB_REF##*/ }} + uses: docker://admiralawkbar/super-linter:${{ BRANCH_NAME }} env: TEST_CASE_RUN: true