On large projects, prebuild usage can become overwhelming e.g. when there is automation to merge changes into a large number of branches, many of which are unlikely to be opened as workspaces.
Gitpod already supports some configuration to limit prebuilds on GitHub repositories. For more details see https://www.gitpod.io/docs/prebuilds#github-specific-configuration
This issue proposes 2 additional ways to prevent prebuilds using a [no prebuild] pattern
When the pattern is detected in either of these places, no prebuild will be triggered.
- on specific commits with a pattern in the commit message
- on specific PRs with a pattern in the PR name or description
Subsequent workspaces opened on a context which is missing a prebuild as a result of this pattern will behave just like today, and run the prebuild tasks during workspace startup.
Similar examples from CI providers:
On large projects, prebuild usage can become overwhelming e.g. when there is automation to merge changes into a large number of branches, many of which are unlikely to be opened as workspaces.
Gitpod already supports some configuration to limit prebuilds on GitHub repositories. For more details see https://www.gitpod.io/docs/prebuilds#github-specific-configuration
This issue proposes 2 additional ways to prevent prebuilds using a
[no prebuild]patternWhen the pattern is detected in either of these places, no prebuild will be triggered.
Subsequent workspaces opened on a context which is missing a prebuild as a result of this pattern will behave just like today, and run the prebuild tasks during workspace startup.
Similar examples from CI providers: