Skip to content

Gitpod prebuild is not running when PR created #4925

@shaal

Description

@shaal

Bug description

After configuring Gitpod Bot to run on all repositories
image

I added the prebuild section to .gitpod.yml
https://github.com/shaal/DrupalPod/blob/main/.gitpod.yml#L61

I created a PR shaal/DrupalPod#24

I see this comment in the PR
image

Clicking on this button - open Gitpod workspace with that PR, but skipping the prebuild process (and I see the whole process running in terminal)

Steps to reproduce

  1. Find a repo that has init tasks
  2. Configure Gitpod Bot to run on a repository
  3. Make sure the prebuild section is in .gitpod.yml
  4. Create a PR
  5. Wait for the Bot to add "Open with Gitpod" button
  6. Click on that button
  7. Confirm Gitpod did not run prebuild and running Init tasks in terminal

Or

  1. Create a new PR in https://github.com/shaal/DrupalPod/compare
  2. Wait for the Bot to add "Open with Gitpod" button
  3. Click on that button
  4. Confirm Gitpod did not run prebuild and running Init tasks in terminal

Expected behavior

  1. A new PR should trigger Gitpod prebuild.
  2. The button "Open in Gitpod" appear as a PR comment, only after the prebuild process has finished.

Example repository

https://github.com/shaal/DrupalPod

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions