Workflows: fix

This commit is contained in:
blahai 2024-12-30 02:22:23 +02:00
parent 96a828f471
commit 14c09208ac
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -12,4 +12,16 @@ jobs:
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Update flake packages
uses: selfuryon/nix-update-action@v1.1.0
run: nix flake update
- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
if [[ $(git status --porcelain) ]]; then
git add flake.lock
git commit -m "Chore: update flake.lock"
git push
else
echo "No changes to commit"
fi