try to fix the git push frogejo action

This commit is contained in:
Ingolf Wagner 2024-07-21 11:23:16 +02:00
parent 65c531536d
commit 029d2ee17b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -2,7 +2,7 @@ name: Update Nix flakes and commit changes
on: on:
schedule: schedule:
- cron: "10 11 * * *" # not to frequent, GitHub only allows a few pulls per hour - cron: "30 11 * * *" # not to frequent, GitHub only allows a few pulls per hour
jobs: jobs:
update-and-commit: update-and-commit:
@ -39,7 +39,7 @@ jobs:
nix flake update nix flake update
export GIT_SSH_COMMAND="ssh -i .ssh_key -F /dev/null" export GITHUB_TOKEN=""
git diff --quiet && \ git diff --quiet && \
git diff --staged --quiet || \ git diff --staged --quiet || \