Skip to content

Commit 9546060

Browse files
authored
Configure git user email and name in workflow
Set global git user configuration for actions.
1 parent cf00280 commit 9546060

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- env:
1515
GH_TOKEN: ${{ github.token }}
1616
run: |
17+
git config --global user.email "you@example.com"
18+
git config --global user.name "Your Name"
1719
git checkout -b foo
1820
touch bar
1921
git add bar

0 commit comments

Comments
 (0)