From 8937d5f307da1ce2e32df109bba475bcc17eab5e Mon Sep 17 00:00:00 2001 From: Max P Date: Wed, 14 Aug 2024 21:48:13 +0200 Subject: [PATCH] Configure Git user in release workflow Added steps to set the Git user name and email in the release workflow. This ensures that commits made by the workflow are correctly attributed to GitHub Actions, preventing potential issues with commit authorship. --- .github/workflows/CreateRelease.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index 4280848..c138162 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -72,6 +72,12 @@ jobs: echo "$notes" >> release_notes.md shell: bash + - name: Set Git user + run: | + git config --local user.name "GitHub Actions" + git config --local user.email "actions@github.com" + shell: bash + - name: Create temporary branch id: create_temp_branch run: |