Skip to content

Commit

Permalink
CI: Configure git user
Browse files Browse the repository at this point in the history
The latest Yocto release seems like it runs git to apply patches. This
hapens during our integration tests.
  • Loading branch information
deribaucourt committed May 28, 2024
1 parent 794572b commit 2f6e1cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# Inspired by https://stackoverflow.com/a/72981982
- name: Configure Git autor for Yocto do_patch
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Clean install
run: npm run clean

Expand Down

0 comments on commit 2f6e1cb

Please sign in to comment.