From cc8d2ea3205630b3774b27a840a68e5ec1ea5dca Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sat, 18 May 2024 23:07:53 +1000 Subject: [PATCH] CI: Specify identity when committing Git refuses to commit otherwise. Identity cargo-culted from other projects / answers. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe01036..131609c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,10 @@ jobs: uses: DeterminateSystems/magic-nix-cache-action@main - name: Update flake.lock if: github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.updateFlakeLock ) - run: nix flake update --commit-lock-file + run: | + git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" + nix flake update --commit-lock-file - name: Check flake.lock uses: DeterminateSystems/flake-checker-action@main with: