diff --git a/.github/workflows/gitlab_ci.yml b/.github/workflows/gitlab_ci.yml index 4be340f9be..227c813d5f 100644 --- a/.github/workflows/gitlab_ci.yml +++ b/.github/workflows/gitlab_ci.yml @@ -91,8 +91,8 @@ jobs: git pull echo "New branch shall be named: TEMPORARY_MERGE_PR_${{ github.event.number }}" echo "MIRROR_BRANCH=TEMPORARY_MERGE_PR_${{ github.event.number }}" >> "$GITHUB_ENV" - echo "Create new branch ${{ env.MIRROR_BRANCH }} and check it out" - git checkout -b "${{ env.MIRROR_BRANCH }}" + echo "Create new branch ${{ MIRROR_BRANCH }} and check it out" + git checkout -b "${{ MIRROR_BRANCH }}" git merge --ff-only "${{ github.event.pull_request.head.sha }}" - name: Mirror and wait for Gitlab-CI uses: jakob-fritz/github2lab_action@Iss37_variable_for_checkout @@ -103,4 +103,4 @@ jobs: GITLAB_HOSTNAME: "gitlab.jsc.fz-juelich.de" GITLAB_PROJECT_ID: "6029" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MIRROR_BRANCH: ${{ env.MIRROR_BRANCH }} + MIRROR_BRANCH: ${{ MIRROR_BRANCH }}