-
Notifications
You must be signed in to change notification settings - Fork 42
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
Changes object has 19 possible keys but type is defined with only 3 of them #689
Comments
Can you confirm wether this is for GitHub.com and not GitHub.AE or GitHub Enterprise? |
The webhooks/payload-types/schema.d.ts Line 440 in 5d5bb3c
and webhooks/payload-types/schema.d.ts Lines 824 to 826 in 5d5bb3c
|
I think it might be easiest to introduce a new common schema for each rule type.
|
That sounds reasonable, and it's effectively what I did in the .NET version. I think you will also need a webhooks/payload-types/schema.d.ts Line 421 in 5d5bb3c
|
…l`, add enum values for `PullRequestReview#state` (#693) ref: octokit/webhooks.net#91 ref: #689 (comment)
…l`, add enum values for `PullRequestReview#state` (#693) ref: octokit/webhooks.net#91 ref: #689 (comment)
I believe all the remaining possible keys have been added |
The
changes
object type is defined to have 3 possible keys:authorized_actors_only
,authorized_actor_names
, andrequired_status_checks
. But it can have several others as well:Because of how this type is defined it is only possible to test cases when
authorized_actors_only
,authorized_actor_names
, andrequired_status_checks
change.webhooks/payload-types/schema.d.ts
Lines 793 to 803 in e4bef38
The text was updated successfully, but these errors were encountered: