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
+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',