diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 4d9304ba3..3512fb6d5 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -19,6 +19,11 @@ jobs: - name: Fetch main-source run: git fetch origin main-source + + - name: Set git user for rebase + run: | + git config user.name "$(git log -n 1 --pretty=format:%an)" + git config user.email "$(git log -n 1 --pretty=format:%ae)" - name: Rebase to main-source run: git rebase origin/main-source