github namespace in the .gitpod.yml file defines when prebuilds should be executed. By default, prebuilds are run on push to the default branch and for each pull request coming from the same repository.
.gitpod.yml
Additional GitHub integration
Once the GitHub app is installed, Gitpod can add helpful annotations to your pull requests.Checks
By default, Gitpod registers itself as a check to pull requests - much like a continuous integration system would do. The default behavior, however, would not make the checks fail when the prebuild failed. This can be enabled with the following snippet:.gitpod.yml file in your default branch:
Comment
Gitpod can add a comment with an “Open in Gitpod” button to your pull requests. You can enable this behaviour in the.gitpod.yml file in your default branch:
Badge
Instead of adding a comment, Gitpod can also modify the description of a pull request to add the “Open in Gitpod” button. This approach produces fewer GitHub notifications, but can also create a concurrent editing conflict when the bot and a user try to edit the description of a pull request at the same time. You can enable this behaviour in the.gitpod.yml file in your default branch:
addComment and addBadge behaviours are not mutually exclusive (i.e. enabling one does not disable the other).
If you don’t want the comments to be added, disable them using addComment: false.