Skip to content

Commit 2f6e1cb

Browse files
committed
CI: Configure git user
The latest Yocto release seems like it runs git to apply patches. This hapens during our integration tests.
1 parent 794572b commit 2f6e1cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
with:
3838
node-version: ${{ matrix.node-version }}
3939

40+
# Inspired by https://stackoverflow.com/a/72981982
41+
- name: Configure Git autor for Yocto do_patch
42+
run: |
43+
git config --global user.name "${GITHUB_ACTOR}"
44+
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
45+
4046
- name: Clean install
4147
run: npm run clean
4248

0 commit comments

Comments
 (0)