sigmavirus24 / github3.py

Hi, I'm a library for interacting with GItHub's REST API in a convenient and ergonomic way. I work on Python 3.6+.
https://github3.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.21k stars 404 forks source link

Allow more deployment statuses per Github docs #1074

Closed greggilbert closed 2 years ago

greggilbert commented 2 years ago

The Github Docs list more acceptable deployment statuses, so this updates the create_status function to allow those.

greggilbert commented 2 years ago

@staticdev Thanks for the note - I took a swing at it. Let me know!

staticdev commented 2 years ago

Thanks @greggilbert, now you need to run the test suite again since the formatting of the files you changed are now broken. Sorry for the inconvenience.

greggilbert commented 2 years ago

@staticdev All good, hopefully I got it right this time.

sigmavirus24 commented 2 years ago

@staticdev pre-commit CI should auto-fix things it can for us