From c9ad6d93b4544cd7ec09030d1372de5fb089fce2 Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Wed, 21 Feb 2024 23:11:27 +0100 Subject: [PATCH] Configure Git user --- .github/workflows/build-data-archive.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-data-archive.yml b/.github/workflows/build-data-archive.yml index 10309c4..ca76226 100644 --- a/.github/workflows/build-data-archive.yml +++ b/.github/workflows/build-data-archive.yml @@ -30,10 +30,15 @@ jobs: - name: Write commit hash to file run: git rev-parse --short HEAD > dist/commithash.txt + - name: Configure Git user + run: | + git config user.name "workflow" + git config user.email "workflow@invalid" + - name: Create new branch run: git switch --orphan dist - - name: Add files + - name: Add, commit, and push files run: | git add dist/ git commit -m 'Add distribution'