Skip to content

Commit 5c78c98

Browse files
committed
nix flake: remove infinite loop check block (unnecessary)
1 parent 0ec6d71 commit 5c78c98

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/update-nix-hashes.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,6 @@ jobs:
276276
exit 0
277277
fi
278278
279-
# Prevent infinite loop: check if the last commit was a hash update
280-
LAST_COMMIT_MSG=$(git log -1 --pretty=%B)
281-
if echo "$LAST_COMMIT_MSG" | grep -q "^nix: update hashes"; then
282-
summarize "skipped (recent hash update)"
283-
echo "Last commit was already a hash update. Skipping to prevent loop."
284-
exit 0
285-
fi
286-
287279
git add flake.nix nix/node-modules.nix nix/hashes.json
288280
git commit -m "$COMMIT_MESSAGE"
289281

0 commit comments

Comments
 (0)