mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Add support for deployment statuses (#1588)
* Added DeploymentStatus class * Added stubs for DeploymentStatus class * Fixed headers for DeploymentStatus.py * Added get/list/create deployment status methods * Added DeploymentStatus repr * Added attribute check tests for DeploymentStatus * Added "create deployment status" test * Added test for Deployment.get_statuses() * Added Deployment.get_status() method Fixes #1586
This commit is contained in:
@@ -120,3 +120,6 @@ issueTimelineEventsPreview = "application/vnd.github.mockingbird-preview"
|
||||
|
||||
# https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository
|
||||
teamRepositoryPermissions = "application/vnd.github.v3.repository+json"
|
||||
|
||||
# https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements/
|
||||
deploymentEnhancementsPreview = "application/vnd.github.ant-man-preview+json"
|
||||
|
||||
Reference in New Issue
Block a user