-
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
auto_merge
property is incorrectly defined
#608
Labels
Type: Bug
Something isn't working as documented
Comments
Thanks for the issue. I will look into it. |
wolfy1339
added a commit
that referenced
this issue
Feb 13, 2022
wolfy1339
added a commit
that referenced
this issue
Mar 10, 2022
…rkflow_run`, `project`, `branch_protection_rule`, `pull_request.auto_merge_{enabled,disabled}` events * feat: new `reopen` action for `repository_vulnerability_alert` Fixes #611 * fix: `auto_merge_property` can also be an object Fixes #608 * fix: `changes` property is not always present on `project.edited` event This happens whenever you edit the automation in the project, but don't change the title or body * fix: add missing `runs_rerequestable` and `rerequestable` to `check_suite.rerequested` * fix: correct reference to common schema * fix: add missing properties to `pull_request.auto_merge_{enabled,disabled}` and `branch_protection_rule.edited` * feat: new `actor` and `triggering_actor` for `workflow_run`s * fix: add missing properties to `repository_vulnerability_alert` Adds the following properties: - number - state - fixed_at - fix_reason Also normalize properties across actions * fix: the `sender` for `repository_vulnerability_alert` is GitHub
🎉 This issue has been resolved in version 5.5.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
The
auto_merge
property1 is incorrectly defined asnull
What did you expect to happen?
It should be defined as
I actually can't find any good documentation on this, other than the rest-api-description2
What the problem might be
The GitHub webhook documentation does not document this as anything other than
null
, so any update scripts will not be able to find the correct type.Footnotes
https://github.com/octokit/webhooks/blob/cd6ab2336b4ce9602b93307b2fe95d34cf5f666a/payload-types/schema.d.ts#L4338 ↩
https://github.com/github/rest-api-description ↩
The text was updated successfully, but these errors were encountered: