mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-21 00:24:36 +00:00
fix(release): run support image workflows on main
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/**
|
||||
|
||||
@@ -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