Merge pull request #347 from samuelattwood/main-source

Configuring git user in Github workflow
pull/340/head^2
Samuel Attwood 2022-02-18 18:48:09 -05:00 committed by GitHub
commit f574aa7e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,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