microsoft / vscode-github-triage-actions

Github Actions for helping VS Code manage our issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Addition of husky precommit hook causes all action runs to fail

bwateratmsft opened this issue · comments

The addition of the husky precommit hook in #96 causes all action runs to fail. Example: https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true

Run npm install --production --prefix ./actions
npm WARN config production Use `--omit=dev` instead.

> vscode-github-triage-actions@1.0.0 prepare
> husky install

sh: 1: husky: not found
npm ERR! code 127
npm ERR! path /home/runner/work/vscode-docker/vscode-docker/actions
npm ERR! command failed
npm ERR! command sh -c husky install

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-08-09T05_11_[4](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:5)4_31[6](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:7)Z-debug-0.log
Error: Process completed with exit code 12[7](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:8).

Yep this is fixed via #98.

Thanks for the quick fix! I verified; the actions are running successfully again.