Problem
.trunk/trunk.yaml defines and enables a custom action:
- id: sh-hook
triggers:
- git_hooks: [pre-push, pre-commit]
run: .github/hook.sh
but .github/hook.sh was deleted in e3fd962 (feat(agents): add memory-curator and workspace-architect; clean up stale files). With trunk-managed git hooks installed, every git commit / git push in a local clone now fails:
sh-hook: line 1: .github/hook.sh: No such file or directory
✖ Commit blocked by git hook 'sh-hook'
Workaround until fixed: git commit --no-verify.
Fix options
- Remove the
sh-hook entry from actions.enabled and actions.definitions in .trunk/trunk.yaml (preferred if the hook is no longer needed), or
- Restore
.github/hook.sh with its intended content.
Triage suggestion
- Type: bug, Priority: high (blocks all local commits), Effort: trivial
Problem
.trunk/trunk.yamldefines and enables a custom action:but
.github/hook.shwas deleted in e3fd962 (feat(agents): add memory-curator and workspace-architect; clean up stale files). With trunk-managed git hooks installed, everygit commit/git pushin a local clone now fails:Workaround until fixed:
git commit --no-verify.Fix options
sh-hookentry fromactions.enabledandactions.definitionsin.trunk/trunk.yaml(preferred if the hook is no longer needed), or.github/hook.shwith its intended content.Triage suggestion