Replies: 4 comments
-
|
Thanks for the feedback @krisrecur - I'll put this on the backlog for future improvements. |
Beta Was this translation helpful? Give feedback.
-
|
Any news on triage of this in the backlog @ethomson? Or if you can mention someone else that's involved in this backlog. Btw, should this be labeled with API? |
Beta Was this translation helpful? Give feedback.
-
|
From https://docs.github.com/en/rest/deployments/environments#create-or-update-an-environment:
I agree that it would be useful for the API to be extended to handle programmatically setting the branches. This has come up here: integrations/terraform-provider-github#922 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Is this now supported? :) - see https://docs.github.com/en/rest/deployments/branch-policies#create-a-deployment-branch-policy |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
REST API allows us to set environment "selected branches", but not apply the all important deployment rules
API docs are not clear
https://docs.github.com/en/enterprise-cloud@latest/rest/reference/deployments#environments
After creating a deployment branch rule via the web UI, I see the following in the JSON output of the environment view operation
Beta Was this translation helpful? Give feedback.
All reactions