diff options
author | talyz <kim.lindberger@gmail.com> | 2021-04-09 11:18:19 +0200 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2021-04-09 11:18:19 +0200 |
commit | dab222ed5bec911323906506e0458116448a0a64 (patch) | |
tree | 1e52c2e9f44890b3cf2c188dadd9389bb07be02f /.github | |
parent | a46200c4900acae655557fc0d39d23ebe920dd98 (diff) | |
download | nixlib-dab222ed5bec911323906506e0458116448a0a64.tar nixlib-dab222ed5bec911323906506e0458116448a0a64.tar.gz nixlib-dab222ed5bec911323906506e0458116448a0a64.tar.bz2 nixlib-dab222ed5bec911323906506e0458116448a0a64.tar.lz nixlib-dab222ed5bec911323906506e0458116448a0a64.tar.xz nixlib-dab222ed5bec911323906506e0458116448a0a64.tar.zst nixlib-dab222ed5bec911323906506e0458116448a0a64.zip |
ci: Configure git before running the update script
The update script tries to commit the changes to each repo individually, but fails if user info isn't configured.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5637d64c79b2..4e67dbb9f95d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,14 +19,16 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable + - name: Configure Git + run: | + git config user.name github-actions + git config user.email github-actions@github.com + - name: Update inputs run: | ./update - name: Push commit with updated inputs run: | - git config user.name github-actions - git config user.email github-actions@github.com - git commit -am "Updated repos/melpa" git pull --rebase git push |