Skip to content

Commit 26e48e9

Browse files
committed
fix git authorship complaints in the Continuous Integration environment
1 parent 9219b59 commit 26e48e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test_template.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ jobs:
2828
- name: Install dependencies
2929
run: uv sync --locked --no-install-project
3030

31-
- name: Test
31+
- name: Set authorship for git
32+
if: matrix.vcs == 'git'
33+
run: |
34+
git config --global init.defaultBranch main
35+
git config --global user.name "GitHub Actions"
36+
git config --global user.email "actions@github.com"
37+
38+
- name: Test template instantiation
3239
run: uv run make test
3340
env:
3441
VCS: ${{ matrix.vcs }}

0 commit comments

Comments
 (0)