From 2f6e1cbadb8f9c44ffe4b77a3639674c48b9ad90 Mon Sep 17 00:00:00 2001 From: Enguerrand de Ribaucourt Date: Tue, 28 May 2024 16:08:43 +0200 Subject: [PATCH] CI: Configure git user The latest Yocto release seems like it runs git to apply patches. This hapens during our integration tests. --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2be816f6..88539536 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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