You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document infer-action enable-git-hooks and hooks-path inputs #597
infer-action#337 adds two new action inputs that change default behavior for consumer repos: enable-git-hooks (default true) and hooks-path (default .githooks). The docs site's infer-action pages should document them.
The action's "Configure Git" step now runs git config core.hooksPath <hooks-path> on its workspace before the agent starts whenever enable-git-hooks is true (the new default).
Agent commits therefore trigger the repo's own pre-commit hook (e.g. the prettier hook in inference-gateway/desktop).
A missing hooks path skips silently - repos without hooks see no behavior change.
Set enable-git-hooks: false to skip entirely.
Affected pages
infer-action inputs reference (new enable-git-hooks and hooks-path entries)
infer-action usage / configuration guide, next to git-operations docs
Proposed changes
Document both inputs with the new default (enabled), the no-hook no-op, and the hooks-path override for non-standard hook locations.
Note that a failing hook never strands work: the salvage step commits with --no-verify.
Inputs reference: added enable-git-hooks (default true) and hooks-path (default .githooks) rows directly under enable-git-operations, matched to action.yml.
New "Repo git hooks" section in the usage guide: default-on behaviour (agent commits trigger the repo's pre-commit hook via git config core.hooksPath <hooks-path> on the action's workspace), the silent no-op when the hooks directory is missing, the hooks-path override for non-standard hook locations, and enable-git-hooks: false to opt out entirely.
Salvage note: hook failures never strand work - the salvage step commits with --no-verify.
"How it works" Git-config step now mentions the wiring; "Source reference" links infer-action#337 per the page's existing convention. Example pins @v0.51.0, the first release shipping the inputs (verified against the release notes).
Validation
bun run lint:md, bun run format:check, bun run build - all pass. Issue tracked on Roadmap 2026 board (In progress → QA).
Noted in the PR but not changed (out of scope): the page's version pins (v0.47.0 / version-input v0.131.0 / max-turns 50) have drifted behind the action's actual defaults - a separate housekeeping pass would fix that. No separate [DOCS] ticket filed since this PR already lives in this repo, and the change has no downstream ripple to other org repos.
Activity
edenreich commentedon Aug 29, 2026
@infer Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 29, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#598
✅ Infer Result: Success
Done. All work is committed and pushed; draft PR open for review:
PR: #598 (
fix/issue-597, draft,Resolves #597)What changed (
github-action.md, one file)enable-git-hooks(defaulttrue) andhooks-path(default.githooks) rows directly underenable-git-operations, matched toaction.yml.pre-commithook viagit config core.hooksPath <hooks-path>on the action's workspace), the silent no-op when the hooks directory is missing, thehooks-pathoverride for non-standard hook locations, andenable-git-hooks: falseto opt out entirely.--no-verify.@v0.51.0, the first release shipping the inputs (verified against the release notes).Validation
bun run lint:md,bun run format:check,bun run build- all pass. Issue tracked on Roadmap 2026 board (In progress → QA).Noted in the PR but not changed (out of scope): the page's version pins (
v0.47.0/ version-inputv0.131.0/max-turns50) have drifted behind the action's actual defaults - a separate housekeeping pass would fix that. No separate[DOCS]ticket filed since this PR already lives in this repo, and the change has no downstream ripple to other org repos.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 4m 57sTokens: 2,896,682 in · 13,727 out · 2,910,409 total (29 requests)
Tool calls: 43 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
chore(release): 🔖 0.9.14 [skip ci]
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀