Title: Stale sh-hook trunk action blocks every local commit (.github/hook.sh removed) · Issue #445 · z-shell/.github · GitHub
Open Graph Title: Stale sh-hook trunk action blocks every local commit (.github/hook.sh removed) · Issue #445 · z-shell/.github
X Title: Stale sh-hook trunk action blocks every local commit (.github/hook.sh removed) · Issue #445 · z-shell/.github
Description: 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-ar...
Open Graph Description: 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(agen...
X Description: 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(agen...
Opengraph URL: https://github.com/z-shell/.github/issues/445
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stale sh-hook trunk action blocks every local commit (.github/hook.sh removed)","articleBody":"## Problem\n\n`.trunk/trunk.yaml` defines and enables a custom action:\n\n```yaml\n- id: sh-hook\n triggers:\n - git_hooks: [pre-push, pre-commit]\n run: .github/hook.sh\n```\n\nbut `.github/hook.sh` was deleted in e3fd962db (`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:\n\n```text\nsh-hook: line 1: .github/hook.sh: No such file or directory\n✖ Commit blocked by git hook 'sh-hook'\n```\n\nWorkaround until fixed: `git commit --no-verify`.\n\n## Fix options\n\n- Remove the `sh-hook` entry from `actions.enabled` and `actions.definitions` in `.trunk/trunk.yaml` (preferred if the hook is no longer needed), or\n- Restore `.github/hook.sh` with its intended content.\n\n## Triage suggestion\n\n- Type: bug, Priority: high (blocks all local commits), Effort: trivial","author":{"url":"https://github.com/ss-o","@type":"Person","name":"ss-o"},"datePublished":"2026-06-12T15:50:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/445/.github/issues/445"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7960506a-edf4-4672-d81f-f8d2f5a4976a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 885C:16CB32:156F45F:1D1F793:6A4C821F |
| html-safe-nonce | 2ea1fd5dbee1c363d4fb7373089a1b204ea5e2b4caade480e510165b506b5a7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODVDOjE2Q0IzMjoxNTZGNDVGOjFEMUY3OTM6NkE0QzgyMUYiLCJ2aXNpdG9yX2lkIjoiNjA1MjY4NDYxMzU4NjU1MTMyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 399a6efab815704ee786ea486c6bcb9770e2b4d1680cb1c798b4f510fb64f17d |
| hovercard-subject-tag | issue:4650643255 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/z-shell/.github/445/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42eb73957877353a2c9c5e60c17ba374fdd6cae29b5b49fe6477ea2eaff93e26/z-shell/.github/issues/445 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42eb73957877353a2c9c5e60c17ba374fdd6cae29b5b49fe6477ea2eaff93e26/z-shell/.github/issues/445 |
| og:image:alt | 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(agen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ss-o |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/z-shell/.github git https://github.com/z-shell/.github.git |
| octolytics-dimension-user_id | 93575852 |
| octolytics-dimension-user_login | z-shell |
| octolytics-dimension-repository_id | 457699285 |
| octolytics-dimension-repository_nwo | z-shell/.github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 457699285 |
| octolytics-dimension-repository_network_root_nwo | z-shell/.github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width