Skip to content

Commit

Permalink
check_suite webhook schema override.
Browse files Browse the repository at this point in the history
Tolerate any string values in `check_suite.app.events` array.

This works around github/rest-api-description#3775.
  • Loading branch information
jmehnle committed Jul 20, 2024
1 parent 7e66386 commit bc6a470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/main/des
"repository",
"sender",
] }
# webhook check suite completed events can be any strings
"/components/schemas/webhook-check-suite-completed/properties/check_suite/properties/app/properties/events/items" = { enum = "<unset>" }
# webhook deployment protection rule action is required
"/components/schemas/webhook-deployment-protection-rule-requested" = { required = [
"action",
Expand Down

0 comments on commit bc6a470

Please sign in to comment.