diff --git a/.github/workflows/check_validated_by_qc_code.yml b/.github/workflows/check_validated_by_qc_code.yml index 96a05ad..20000b7 100644 --- a/.github/workflows/check_validated_by_qc_code.yml +++ b/.github/workflows/check_validated_by_qc_code.yml @@ -20,10 +20,11 @@ jobs: steps: - name: Current branch id: get-branch - run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_HEAD_REF})" + run: echo "::set-output name=BRANCH_NAME::$(echo ${GITHUB_HEAD_REF})" - name: Check qc branch exists id: qc-branch-exists run: | + echo $BRANCH_NAME export BRANCHES=$(git branch -r) echo $BRANCHES | grep ${{ steps.get-branch.outputs.branch }}