Skip to content

[Bug]: Preview deployments are not auto-triggering on PR open #9271

Description

@qumberrizvi

Error Message and Logs

I’ve used the GitHub app to deploy a web app using a Dockerfile. The deployment pipeline triggers correctly when a new commit is pushed to the main branch. However, when a new pull request is opened, it does not automatically trigger the Preview Deployment.
If I go to the Preview Deployment section and click “Load Pull Requests,” the PR appears, and I can trigger the deployment manually, which works fine.
I’ve also verified that the GitHub app has permission to read and write pull requests and is subscribed to pull request events. In the app logs, I can see that webhook events for pull requests are being sent.

Steps to Reproduce

  1. Setup a new application using Github App and Dockerfile
  2. Ensure the app has all the required permissions.
  3. Setup preview deployment including DNS.
  4. Open a new PR

Example Repository URL

No response

Coolify Version

v4.0.0-beta.470

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.4 LTS

Additional Information

Please advise if there is a way to extract logs on the Coolify side that can help identify if there are errors while consuming the webhooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 Possible BugReported issues that need to be reproduced by the team.📄 DocsIssues related to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions