From 029d2ee17b6dd35ac50f3fe0c3aa8c67ded760e7 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 21 Jul 2024 11:23:16 +0200 Subject: [PATCH] try to fix the git push frogejo action --- .forgejo/workflows/update_nix_flakes.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/update_nix_flakes.yml b/.forgejo/workflows/update_nix_flakes.yml index f36de6a..c8095f5 100644 --- a/.forgejo/workflows/update_nix_flakes.yml +++ b/.forgejo/workflows/update_nix_flakes.yml @@ -2,7 +2,7 @@ name: Update Nix flakes and commit changes on: 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: update-and-commit: @@ -39,7 +39,7 @@ jobs: nix flake update - export GIT_SSH_COMMAND="ssh -i .ssh_key -F /dev/null" + export GITHUB_TOKEN="" git diff --quiet && \ git diff --staged --quiet || \