I naively wanted to fix missing WorkflowRun.status return type in #3443, but turned out it's an issue upstream in see api.github.com.2022-11-28.json (see github/rest-api-description#1634 (comment)).
Basically WorkflowRun.status in schema is defined as string | null instead of enum. Does it mean this issue should be fixed upstream or there is some workflow to pygithub to accept patches that override original schema a bit? What's usually done in cases like this?
I naively wanted to fix missing
WorkflowRun.statusreturn type in #3443, but turned out it's an issue upstream in seeapi.github.com.2022-11-28.json(see github/rest-api-description#1634 (comment)).Basically
WorkflowRun.statusin schema is defined asstring | nullinstead ofenum. Does it mean this issue should be fixed upstream or there is some workflow to pygithub to accept patches that override original schema a bit? What's usually done in cases like this?