-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Description
👋 First of all, thanks for the project.
Issue
I saw that the gem doesn't support the deployment statuses: in_progress
or queued
.
The reason is because instead of sending 'application/vnd.github.cannonball-preview+json'
, they require application/vnd.github.flash-preview+json
in the Accept
header for these statuses while are in beta.
Tests
I checked that using application/vnd.github.flash-preview+json
in all deployments requests made (list N deployments, get a status from a deployment, ...) worked like a charm. I assume that's the only change it needs.
Docs
- https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-deployment-statuses-preview-notices
- https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/#new-deployment-status-states
- https://developer.github.com/changes/2014-11-25-the-deployments-api-is-official/
Metadata
Metadata
Assignees
Labels
No labels