-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade husky to v9 #482
Upgrade husky to v9 #482
Conversation
I just confirmed this PR resolves my error by installing via: npm i -D @types/github-script@github:actions/github-script#pull/482 I use git worktrees, and it sounds using a non-standard location for
|
## Summary - Add [`actions/github-script`](https://github.com/marketplace/actions/github-script) types - Add [`@octokit/webhook-types`](https://www.npmjs.com/package/@octokit/webhooks-types) for improved payload typing - Use JSDoc wizardry to typecheck the JavaScript files used by our workflows ## Notes I got a husky error when installing the `github-script` types. Here is a related issue: typicode/husky#851 Upgrading husky resolves the error, so I created a pull request: actions/github-script#482 I installed `github-script` using the PR number for now. We can unpin the PR once it's merged by re-installing via the [command in the doc](https://github.com/actions/github-script/#use-scripts-with-jsdoc-support): ```sh npm i -D @types/github-script@github:actions/github-script ```
Thanks for the review! It's my first time contributing so I believe you need to manually run the PR check. Feel free to merge once the check passes since I don't have write permissions. Appreciate it! |
Yep, ran into a couple internal issues with a feature we had enabled for this repository https://github.com/actions/github-script/actions/runs/10087909477 I can push an empty commit to re-trigger CI |
Ah looks like I don't have permissions to do that, do you mind pushing an empty commit to your branch? |
I pushed an empty commit, let me know if you need anything else from my end! I have the "Allow edits by maintainers" box checked so I'm not sure why it didn't let you do it. |
@benelan do you need a new release of the action to get unblocked or are you good with these changes just being in |
The changes being on |
## Summary - Add [`actions/github-script`](https://github.com/marketplace/actions/github-script) types - Add [`@octokit/webhook-types`](https://www.npmjs.com/package/@octokit/webhooks-types) for improved payload typing - Use JSDoc wizardry to typecheck the JavaScript files used by our workflows ## Notes I got a husky error when installing the `github-script` types. Here is a related issue: typicode/husky#851 Upgrading husky resolves the error, so I created a pull request: actions/github-script#482 I installed `github-script` using the PR number for now. We can unpin the PR once it's merged by re-installing via the [command in the doc](https://github.com/actions/github-script/#use-scripts-with-jsdoc-support): ```sh npm i -D @types/github-script@github:actions/github-script ```
Migrate to husky v9 following the instructions in their release notes.
For context, I got the following husky error when installing this package for JSDoc support:
I found a husky issue where people said the problem is fixed in newer versions: typicode/husky#851