CI: Specify identity when committing

Git refuses to commit otherwise.

Identity cargo-culted from other projects / answers.
This commit is contained in:
Marien Zwart 2024-05-18 23:07:53 +10:00
parent 6aad68a612
commit cc8d2ea320
No known key found for this signature in database

View file

@ -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: