Skip to content

Commit 7f60001

Browse files
user commiter's email and name for push to kb
1 parent d2fd92f commit 7f60001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs-push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
cd knowledge-base
3737
echo ${{env.branch_name}}
3838
git checkout -b ${{env.branch_name}}
39-
git config user.name "${{ github.triggering_actor }}"
40-
git config user.email "mike@dock.io"
39+
git config user.name "${{ github.event.head_commit.author.name }}"
40+
git config user.email "${{ github.event.head_commit.author.email }}"
4141
# Get the commit message from the merged PR
4242
commit_message="${{ github.event.head_commit.message }}"
4343
git add -A .

0 commit comments

Comments
 (0)