Skip to content

Commit fe4625a

Browse files
committed
Give gh-pages bot a name/email for a better git log
1 parent 231812a commit fe4625a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

template/.github/workflows/deploy-docs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
with:
2424
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2525

26+
- name: Configure git for the bot
27+
# Gives the bot that commits to gh-pages a name & email address
28+
# so that the commits have an author in the commit log.
29+
run: |
30+
git config user.name github-actions[bot]
31+
git config user.email github-actions[bot]@users.noreply.github.com
32+
2633
- name: Set up Python
2734
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
2835
with:

0 commit comments

Comments
 (0)