From 9b4aac82aa9ca01e4219a90e5e06cea3d19614e0 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Sat, 5 Jul 2025 15:36:21 -0500 Subject: [PATCH] fix(ci): Lefthook e2e-links command should only look for files in staged_files --- lefthook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index e0deb6c70..e5e951b09 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -87,8 +87,8 @@ pre-push: tags: test,links glob: 'content/*.{md,html}' run: | - echo "Running link checker for: {push_files}" - yarn test:links {push_files} + echo "Running link checker for: {staged_files}" + yarn test:links {staged_files} exit $? # Manage Docker containers