Compare commits
No commits in common. "c9862e6efc1036b7fe63a6700a0a67da066b3c1f" and "8d9892e958e72dbf16fef0e20a98222bf4f0d031" have entirely different histories.
c9862e6efc
...
8d9892e958
@ -2,7 +2,7 @@ name: Update Nix Flake
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "45 0 * * *" # daily run
|
- cron: "30 0 * * *" # daily run
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -50,8 +50,9 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
git status
|
if git diff --quiet; then
|
||||||
git diff --cached --quiet && echo "No changes to commit." && exit 0
|
echo "No changes to commit."
|
||||||
|
else
|
||||||
git commit -m "Update flake.lock $(date -I)"
|
git commit -m "Update flake.lock $(date -I)"
|
||||||
git push origin flake-updates
|
git push origin flake-updates
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user