Skip to content
Snippets Groups Projects
Commit d906604e authored by Jakob Fritz's avatar Jakob Fritz
Browse files

Redone storing of var again

parent faec097f
No related branches found
No related tags found
No related merge requests found
...@@ -91,8 +91,8 @@ jobs: ...@@ -91,8 +91,8 @@ jobs:
git pull git pull
echo "New branch shall be named: TEMPORARY_MERGE_PR_${{ github.event.number }}" echo "New branch shall be named: TEMPORARY_MERGE_PR_${{ github.event.number }}"
echo "MIRROR_BRANCH=TEMPORARY_MERGE_PR_${{ github.event.number }}" >> "$GITHUB_ENV" echo "MIRROR_BRANCH=TEMPORARY_MERGE_PR_${{ github.event.number }}" >> "$GITHUB_ENV"
echo "Create new branch ${{ env.MIRROR_BRANCH }} and check it out" echo "Create new branch ${{ MIRROR_BRANCH }} and check it out"
git checkout -b "${{ env.MIRROR_BRANCH }}" git checkout -b "${{ MIRROR_BRANCH }}"
git merge --ff-only "${{ github.event.pull_request.head.sha }}" git merge --ff-only "${{ github.event.pull_request.head.sha }}"
- name: Mirror and wait for Gitlab-CI - name: Mirror and wait for Gitlab-CI
uses: jakob-fritz/github2lab_action@Iss37_variable_for_checkout uses: jakob-fritz/github2lab_action@Iss37_variable_for_checkout
...@@ -103,4 +103,4 @@ jobs: ...@@ -103,4 +103,4 @@ jobs:
GITLAB_HOSTNAME: "gitlab.jsc.fz-juelich.de" GITLAB_HOSTNAME: "gitlab.jsc.fz-juelich.de"
GITLAB_PROJECT_ID: "6029" GITLAB_PROJECT_ID: "6029"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MIRROR_BRANCH: ${{ env.MIRROR_BRANCH }} MIRROR_BRANCH: ${{ MIRROR_BRANCH }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment