OCA / oca-github-bot

The GitHub Bot of the Odoo Community Association (OCA)
MIT License
42 stars 61 forks source link

Ignore check suites that have no check runs #141

Closed sbidoul closed 3 years ago

sbidoul commented 3 years ago

Previously, there was a hack to ignore Travis check suites when the old style travis status was present. Then we had to ignore Dependabot which was reporting a check suite that never completed. Now, on repos that have no .travis.yml but where travis is configured organization-wide, we have Travis reporting a check suite that never completes. :/

So this is an attempt to better handle all this by ignoring check suites that have no check runs.

Also, improve logging in this area.

Why it is so hard to detect a green build... I may miss something obvious... or not.

sbidoul commented 3 years ago

So I'm going to merge this and test it on the shopinvader org before deploying to OCA.