Skip to content

[GitHub.com only] Prebuilds no longer triggering if gitpod.yml uses a 'before' task without an 'init' #10336

@jldec

Description

@jldec

The following .gitpod.yml used to trigger prebuilds on each commit (on GitHub only) but as of 21d3f00 it no longer does.

# .gitpod.yml
tasks:
  - before: |
      echo `gp url` >> before.txt
    command: |
      echo `gp url` >> command.txt

Since the old behavior was somewhat unexpected, and GitHub-specific, and atypical (the standard way to configure a prebuild is with init) the proposal for this issue is NOT to fix this, but rather to clarify the recommended use of init in our docs.

Metadata

Metadata

Assignees

Labels

team: webappIssue belongs to the WebApp team

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions