Commit d392ed4
committed
ci(release): skip lefthook on bot commits
The changesets/action commit `chore: version packages (next)` triggers
the pre-commit hook, whose `check:types` job runs `pnpm` and pnpm 11's
verifyDepsBeforeRun re-enters the `prepare` script (`lefthook install`)
from inside the already-running hook. On the current runner image this
fails with "could not replace the hook: ... no such file or directory"
and aborts the release.
Setting LEFTHOOK=0 on this step disables hooks for the bot's commit,
which does not need lint/types checks anyway (deterministic bumps to
package.json, CHANGELOG.md, and .changeset/pre.json).1 parent e4d24b8 commit d392ed4
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
0 commit comments