-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Deployment Statuses Preview #1895
Conversation
Hey @Cyberboss sorry I haven't reviewed yet, I'll take a look this week 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @Cyberboss
Just one minor request around the unit tests, to fix up the previous usage of the AcceptHeader
const/variable, in favour of hardcoding the expected header string like the other tests already do 👍
Have you run any integration tests or confirmed that these changes do actually work?
Codecov Report
@@ Coverage Diff @@
## master #1895 +/- ##
==========================================
+ Coverage 66.94% 66.95% +<.01%
==========================================
Files 542 542
Lines 14223 14228 +5
==========================================
+ Hits 9522 9526 +4
- Misses 4701 4702 +1
|
Also fix the lack of preview headers in the repositoryId version
c37e530
to
b6ad71e
Compare
@ryangribble I added a new test to leverage the new properties, integration tests are passing locally |
release_notes: Added support for Deployment Status API improvements |
Thanks for finishing this ancient thing off guys! |
https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/
https://developer.github.com/v3/previews/#deployment-statuses