From 2685e4c90c584bacc7dc9bcd28cca9158ea434f1 Mon Sep 17 00:00:00 2001 From: Elliot Goodrich Date: Tue, 8 Oct 2024 21:15:40 +0100 Subject: [PATCH] Update username and email for GH action commits Use the email address and username suggested in the `actions/checkout` documentation: https://github.com/actions/checkout/pull/1707 --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 404afce..a5ddea9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,8 +46,8 @@ jobs: cache: 'npm' - uses: seanmiddleditch/gha-setup-ninja@master - run: | - git config --global user.email "noreply@github.com" - git config --global user.name "github-action" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" git fetch origin main:main --depth 1 git merge origin/main --message "Generate files" --log=1 --allow-unrelated-histories --strategy-option theirs - run: npm ci @@ -55,8 +55,6 @@ jobs: - run: ninja -k 0 - run: | git add dist --force - git config --global user.email "noreply@github.com" - git config --global user.name "github-action" git commit --amend -C HEAD - name: Push changes env: