Configuring git user is workflow to permit rebase
parent
31ddc4889f
commit
6a6dae076d
|
@ -20,6 +20,11 @@ jobs:
|
||||||
- name: Fetch main-source
|
- name: Fetch main-source
|
||||||
run: git fetch origin 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
|
- name: Rebase to main-source
|
||||||
run: git rebase origin/main-source
|
run: git rebase origin/main-source
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue