From e9ba2bb8e01041d85b491eebefc77708f4b04e41 Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius <59910950+ss-o@users.noreply.github.com> Date: Sat, 13 Jun 2026 02:50:56 +0100 Subject: [PATCH] fix(trunk): remove stale sh-hook action blocking local git hooks The sh-hook action ran .github/hook.sh on the pre-commit and pre-push git hooks, but that script was deleted in e3fd962db, so every commit and push in clones with trunk-managed hooks failed with "sh-hook: line 1: .github/hook.sh: No such file or directory". Remove the action from actions.enabled and actions.definitions; the script only ran 'trunk check --show-existing', which the built-in trunk actions already cover when desired. Closes #445 --- .trunk/trunk.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index bedae39d7..a4b76137c 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -60,9 +60,3 @@ actions: - trunk-upgrade-available - trunk-cache-prune - trunk-announce - - sh-hook - definitions: - - id: sh-hook - triggers: - - git_hooks: [pre-push, pre-commit] - run: .github/hook.sh