Skip to content

Commit

Permalink
Redone storing of var again
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-fritz committed Apr 16, 2024
1 parent faec097 commit d906604
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gitlab_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit d906604

Please sign in to comment.