Skip to content

fix: run hook jobs through mise exec - #5

Merged
deathpie merged 1 commit into
mainfrom
fix/hooks-mise-exec
Nov 23, 2026
Merged

deathpie merged 1 commit into
mainfrom
fix/hooks-mise-exec

Conversation

@deathpie

Copy link
Copy Markdown
Owner

Hook jobs now run mise exec -- just <recipe>, so the repository's mise-pinned tools (gitleaks, zizmor, shellcheck) are on PATH even in a shell where mise is not activated. Previously core-secrets exited 127 and reported a misleading "A staged secret was found".

  • standards/core.md: C7.10 requires every hook job, core and owner, to run through mise exec.
  • hooks/core.yml: every job runs mise exec -- just <recipe>; the secret-scan failure text distinguishes a missing gitleaks from a real finding.
  • hooks/owner.yml: every job runs mise exec -- just <recipe>.
  • standards/owner.md: pin hooks-v3.

Released as tag hooks-v3.

@deathpie
deathpie merged commit 1f74a87 into main Nov 23, 2026
5 checks passed
@deathpie
deathpie deleted the fix/hooks-mise-exec branch November 23, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant