In the .gitpod.yml, we have the following option to enable prebuilds on all branches:
github:
prebuilds:
branches: true
I would like more granularity either through a regex, an array of branch names or a combination of the two.
Regex
github:
prebuilds:
branches: feature/*
Branch names
github:
prebuilds:
branches:
- main
- gp-code
Combination of regex & array
github:
prebuilds:
branches:
- main
- gp-code
- feature/*
A good use case is https://github.com/gitpod-io/openvscode-server. Prebuilds run for the main branch, but not gp-code. The repo has 263 branches, for all but main and gp-code we don't need prebuilds.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In the
.gitpod.yml
, we have the following option to enable prebuilds on all branches:I would like more granularity either through a regex, an array of branch names or a combination of the two.
Regex
Branch names
Combination of regex & array
A good use case is https://github.com/gitpod-io/openvscode-server. Prebuilds run for the
main
branch, but notgp-code
. The repo has 263 branches, for all butmain
andgp-code
we don't need prebuilds.