What causes "This branch has not been deployed" to appear? #45186
Replies: 7 comments 1 reply
-
@clausjoergensen I think the message is triggered when a pull request is opened on a branch that has not been deployed using GitHub Actions. GitHub Actions allows you to deploy your code to different environments, such as staging or production. The message "This branch has not been deployed" is likely indicating that the branch being requested to be merged has not been deployed to any environment. You can also reach out to github support for more exact answers... |
Beta Was this translation helpful? Give feedback.
-
Is there a way to hide the message if I'm sure I don't want to deploy it? |
Beta Was this translation helpful? Give feedback.
-
In our case, the branch has been merged to dev branch which triggers dev deployments but even after so, it still says the branch hasn't been deployed. |
Beta Was this translation helpful? Give feedback.
-
Is there any way to show that a feature branch has been deployed? E.g. when we use various environments and GH Action workflows to deploy to these custom envs. |
Beta Was this translation helpful? Give feedback.
-
In the past, when I was using Heroku and I deployed branches to Heroku, somehow the way I was doing that triggered Github to show in PRs that the branch had been deployed. I'm using a different in-house hosting service based on Dokku now. and I'd like to set up the tooling to make those deployments show up on Github, but I'm not sure how. |
Beta Was this translation helpful? Give feedback.
-
This may be relevant: https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28 |
Beta Was this translation helpful? Give feedback.
-
Might be related to environments: https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
We started seeing
This branch has not been deployed
appearing in Pull RequestsBut it seems entirely undocumented, there's not a single reference to this across the entire internet (except for a unanswered Stack Overflow question asking the same thing)
Do anyone know what it's for and what triggers it to appear? We don't use deployment branches at all in our project...
Beta Was this translation helpful? Give feedback.
All reactions