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

Added more reporting for better debugging

parent efdaa053
Branches
No related tags found
No related merge requests found
Pipeline #184942 canceled
...@@ -85,9 +85,13 @@ jobs: ...@@ -85,9 +85,13 @@ jobs:
if: github.event_name == 'pull_request_target' if: github.event_name == 'pull_request_target'
run: | run: |
git fetch git fetch
echo "Checkout of ${{ github.base_ref }}"
git checkout "${{ github.base_ref }}" git checkout "${{ github.base_ref }}"
echo "Git pull"
git pull 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 "MIRROR_BRANCH=TEMPORARY_MERGE_PR_${{ github.event.number }}" >> "$GITHUB_ENV"
echo "Create new branch $ {{ github.env.MIRROR_BRANCH }} and check it out"
git checkout -b "${{ github.env.MIRROR_BRANCH }}" git checkout -b "${{ github.env.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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment