-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
@actions/GitHub - TypeScript Definition for WebHookPayload is limited #147
Comments
@thboop |
I've updated the readme in #310 with information on how to do this manually if the additional type information would be helpful. If there's a particular field that is missing that would be helpful to add, we can evaluate adding that field. The WebhookPayload field is a union of all of these individual payloads that can run in actions from the
These types can have overlapping fields, for example both We will evaluate making these types more accessible in a future release. I've re-tagged this as an enhancement. |
See #743 |
Please can the
WebHookPayload
interface/type definition be updated to support more properties from GitHub Webhook/payloads such asPush
event.To get details about the commit/s and the files added, modified and deleted, which is useful for a linting tool to know which files to lint, as opposed to running it over an entire repository which could be quite slow if it contains lots of files.
The text was updated successfully, but these errors were encountered: