-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed as not planned
Closed as not planned
Copy link
Description
Error Message and Logs
I'm using the Create (Private - GH App) API for creating a new application in our project.
In the payload I provide the git_repository (GitHub app has access to that org). When I fetch the application via API I can see that the repository_project_id is null.
That is a problem because GitHub Webhooks won't create an automatic deployment.
In app/Http/Controllers/Webhook/Github.php line 314:
$applications = Application::where('repository_project_id', $id)->whereRelation('source', 'is_public', false);
This will not return any application because the repository_project_id is not set. Maybe we can compare the full name of the repository in this case?
Steps to Reproduce
- Create an app via API (Private - GH App)
- Push to the connected GH repo
- See that no deployment was created even though the webhook was received successfully
Example Repository URL
No response
Coolify Version
v4.0.0-beta.397
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels