mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 12:23:48 +00:00
fix(release): run support image workflows on main
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user