-
Notifications
You must be signed in to change notification settings - Fork 76
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
ci: add type checking to github scripts #9851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
🕺☝️☝️☝️☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺
🕺☝️🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺🕺☝️🕺
🕺☝️☝️☝️☝️🕺☝️🕺🕺☝️🕺🕺☝️🕺☝️🕺🕺☝️🕺🕺☝️🕺
🕺☝️🕺🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺☝️🕺
🕺☝️🕺🕺☝️🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
🕺☝️🕺🕺🕺☝️🕺☝️🕺🕺🕺☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺☝️🕺
🕺🕺☝️🕺☝️🕺🕺☝️🕺🕺🕺☝️🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺
🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺☝️☝️🕺🕺🕺☝️☝️🕺🕺🕺☝️☝️🕺🕺☝️🕺
🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺🕺☝️🕺🕺🕺
🕺🕺🕺☝️🕺🕺🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️☝️☝️🕺🕺☝️🕺
🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺🕺
**Related Issue:** #9851 ## Summary Fixes the case of environment variables in the workflow files, which I made uppercase in the GitHub scripts.
**Related Issue:** #9851 ## Summary The PR I created for `actions/github-script` was merged.
## 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 ```
**Related Issue:** #9851 ## Summary Fixes the case of environment variables in the workflow files, which I made uppercase in the GitHub scripts.
**Related Issue:** #9851 ## Summary The PR I created for `actions/github-script` was merged.
Summary
actions/github-script
types@octokit/webhook-types
for improved payload typingNotes
I got a husky error when installing the
github-script
types. Here is a related issue: typicode/husky#851Upgrading 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: