Skip to content

Commit b9238be

Browse files
galin-sPetarKirov
authored andcommitted
fix(gh-actions): Fix nix flake update action for repos with pre-commit
1 parent 7eb45d1 commit b9238be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/commit_flake_update.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ if ! git config --get user.name >/dev/null 2>&1 || \
1313
fi
1414

1515
current_commit="$(git rev-parse HEAD)"
16+
export PRE_COMMIT_ALLOW_NO_CONFIG=1
17+
1618
nix flake update --commit-lock-file
1719
commit_after_update="$(git rev-parse HEAD)"
1820

0 commit comments

Comments
 (0)