Compare commits
2 Commits
8d9892e958
...
c9862e6efc
Author | SHA1 | Date | |
---|---|---|---|
c9862e6efc | |||
ed52562b55 |
@ -2,7 +2,7 @@ name: Update Nix Flake
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 0 * * *" # daily run
|
- cron: "45 0 * * *" # daily run
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -50,9 +50,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
if git diff --quiet; then
|
git status
|
||||||
echo "No changes to commit."
|
git diff --cached --quiet && echo "No changes to commit." && exit 0
|
||||||
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