fix(release): run support image workflows on main

This commit is contained in:
Andras Bacsai
2026-08-11 16:35:03 +02:00
parent 8bf4ac9c68
commit cde9597c09
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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/**
+2 -4
View File
@@ -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',