You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We we imported the BranchProtectionRuleEditedEvent recently and we came across an issue. The changes object can be undefined but the Type definition doesn't allow for it to be undefined. To replicate this, go to a repo's branch protection settings and it save without changing any of the settings. This fires off a BranchProtectionRuleEditedEvent without the changes object.
Can you confirm wether this is for GitHub.com and not GitHub.AE or GitHub Enterprise?
Please provide an example payload that demonstrates this behaviour
…dited`, add missing keys to `changes` property in `branch_protection_rule#edited`, new `blocking` permission for apps (#690)
Fixes#688
Fixes part of #689
We we imported the BranchProtectionRuleEditedEvent recently and we came across an issue. The changes object can be undefined but the Type definition doesn't allow for it to be undefined. To replicate this, go to a repo's branch protection settings and it save without changing any of the settings. This fires off a BranchProtectionRuleEditedEvent without the changes object.
webhooks/payload-types/schema.d.ts
Lines 793 to 803 in e4bef38
The text was updated successfully, but these errors were encountered: