Skip to content

Commit dcc1bc3

Browse files
committed
Add co-author
1 parent 1fa8447 commit dcc1bc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto-format.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,7 @@ jobs:
8383
git config --local user.email "github-actions[bot]@users.noreply.github.com"
8484
git config --local user.name "github-actions[bot]"
8585
git add -A
86-
git commit -m "style: auto-format code [skip ci]"
86+
CO_AUTHOR_NAME="${{ github.event.repository.owner.login }}"
87+
CO_AUTHOR_EMAIL="${{ github.event.repository.owner.id }}+${{ github.event.repository.owner.login }}@users.noreply.github.com"
88+
git commit -m $'style: auto-format code [skip ci]\n\nCo-authored-by: '"$CO_AUTHOR_NAME"' <'"$CO_AUTHOR_EMAIL"'>'
8789
git push

0 commit comments

Comments
 (0)