Compare commits

..

No commits in common. "c9862e6efc1036b7fe63a6700a0a67da066b3c1f" and "8d9892e958e72dbf16fef0e20a98222bf4f0d031" have entirely different histories.

View File

@ -2,7 +2,7 @@ name: Update Nix Flake
on:
schedule:
- cron: "45 0 * * *" # daily run
- cron: "30 0 * * *" # daily run
workflow_dispatch: {}
jobs:
@ -50,8 +50,9 @@ jobs:
shell: bash
run: |
git add flake.lock
git status
git diff --cached --quiet && echo "No changes to commit." && exit 0
git commit -m "Update flake.lock $(date -I)"
git push origin flake-updates
if git diff --quiet; then
echo "No changes to commit."
else
git commit -m "Update flake.lock $(date -I)"
git push origin flake-updates
fi