Skip to content

Commit 214d13f

Browse files
committed
chore: set pseudo git user in test workflows
1 parent d33e684 commit 214d13f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ jobs:
117117
echo "HOMEBREW_CELLAR=$(brew --cellar)" >> "$GITHUB_ENV"
118118
echo "HOMEBREW_REPOSITORY=$(brew --repository)" >> "$GITHUB_ENV"
119119
fi
120+
- name: Set pseudo git user
121+
run: |
122+
git config --global user.user "runner"
123+
git config --global user.email "runner@localhost"
120124
- uses: rcmdnk/python-action@v3
121125
with:
122126
checkout: 1
@@ -153,6 +157,10 @@ jobs:
153157
- 'tests/test_serial.py::test_cask_args'
154158
runs-on: macos-latest
155159
steps:
160+
- name: Set pseudo git user
161+
run: |
162+
git config --global user.user "runner"
163+
git config --global user.email "runner@localhost"
156164
- uses: rcmdnk/python-action@v3
157165
with:
158166
checkout: 1

0 commit comments

Comments
 (0)