Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(release): run support image workflows on main

Andras Bacsaicde9597c092a
diff --git a/.github/workflows/coolify-helper.yml b/.github/workflows/coolify-helper.yml
index 1a8725d1cd..06c5f9eb35 100644
--- a/.github/workflows/coolify-helper.yml
+++ b/.github/workflows/coolify-helper.yml
@@ -2,7 +2,7 @@ name: Coolify Helper Image
on:
push:
- branches: [ "v4.x" ]
+ branches: [ "v4.x", "main" ]
paths:
- .github/workflows/coolify-helper.yml
- docker/coolify-helper/Dockerfile
diff --git a/.github/workflows/coolify-realtime.yml b/.github/workflows/coolify-realtime.yml
index b353f99ad3..cfcf8f2001 100644
--- a/.github/workflows/coolify-realtime.yml
+++ b/.github/workflows/coolify-realtime.yml
@@ -2,7 +2,7 @@ name: Coolify Realtime
on:
push:
- branches: [ "v4.x" ]
+ branches: [ "v4.x", "main" ]
paths:
- .github/workflows/coolify-realtime.yml
- docker/coolify-realtime/**
diff --git a/tests/Unit/ProductionImageWorkflowTest.php b/tests/Unit/ProductionImageWorkflowTest.php
index 0c8c593c88..bbf95542d2 100644
--- a/tests/Unit/ProductionImageWorkflowTest.php
+++ b/tests/Unit/ProductionImageWorkflowTest.php
@@ -44,12 +44,10 @@ it('requires a reviewed draft release before building a stable version', functio
->not->toContain('generate-notes');
});
-it('runs production support workflows only from v4.x', function (string $workflowFile) {
+it('keeps support image workflows ready for the production branch rename', function (string $workflowFile) {
$workflow = file_get_contents(dirname(__DIR__, 2)."/.github/workflows/{$workflowFile}");
- expect($workflow)
- ->toContain('branches: [ "v4.x" ]')
- ->not->toContain('"main"');
+ expect($workflow)->toContain('branches: [ "v4.x", "main" ]');
})->with([
'helper' => 'coolify-helper.yml',
'realtime' => 'coolify-realtime.yml',