Skip to content

Introduce project settings for enabling prebuilds for branches, pull requests, etc. #7426

@gtsiolis

Description

@gtsiolis

Problem to solve

Following the problem statement in #7425, 🅰️ prebuilds are only enable for Github repositories for the default branch and 🅱️ prebuilds are not enabled when adding a repository as project.

For GitHub repositories, when installing the GitHub App, prebuilds are enabled by default for the default branch. For enabling prebuilds for all branches, a user will need to defien this in .gitpod.yml, see relevant docs.

For GitLab and Bitbucket repositories, when adding aproject a webhook is installed. However, enabled are not enabled, see #7424 and pending PR in #7422. Prebuilds are also not enabled when adding a project, following the pattern used for GitHub repositories.

This makes enabling prebuilds for all branches a less discoverable option and more difficult to set up.

Proposal

Introduce a preference in project settings that allows enabling or disabling prebuilds for a) branches, b) pull requests, c) pull requests from forks, as well as, enabling or disabling e) add check, f) add comment, and g) add badge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions