Pygithub: Add support for the Checks API

Created on 15 Mar 2019  路  7Comments  路  Source: PyGithub/PyGithub

The Github v3 API now supports a first-class notion of [check runs] and [check suites] that can be used to gate whether a pull-request should be merged or not.

Adding support for this part of the API to PyGithub would be useful for users who want to develop custom checks. As I'm in that case, I might have a stab at this, but simply didn't make the time yet.

feature request

Most helpful comment

It would be really great to support this API indeed 馃憤

We are currently using pygithub to add comments automatically to our PRs from our CI jobs. However, we would like to switch to the Checks API in order to keep the discussion cleaner.

All 7 comments

It would be really great to support this API indeed 馃憤

We are currently using pygithub to add comments automatically to our PRs from our CI jobs. However, we would like to switch to the Checks API in order to keep the discussion cleaner.

@sfdye, I would like to work on this feature request.

Go ahead 馃憤

@singh811 Have you made any progress on this? I'd like to see this feature in too, so I'm happy to help if you have started, else I'll start and open a draft PR.

Edit 4mo later: was not able to figure out how to structure the code in this repo, so I did not make significant progress.

Hi @singh811 how's the work going? It's the feature I'm dreaming about ;)

@sfdye @singh811 @hawkins @nbraud
Does anyone have any idea how difficult a task this would be? is it a major task?

I'm wondering if there's any guidance on how to get it done?

Closing in favour of #1621

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nchammas picture nchammas  路  3Comments

PeterJCLaw picture PeterJCLaw  路  6Comments

hsluoyz picture hsluoyz  路  3Comments

AdyaAbhra picture AdyaAbhra  路  5Comments

jacquev6 picture jacquev6  路  3Comments