Skip to content

Commit 2ef0f33

Browse files
ci(common): e2e tests for pr on release branch (#1915)
1 parent 667025f commit 2ef0f33

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test-suite-orchestrate-e2e-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- release/*
78

89
permissions: {}
910

@@ -13,7 +14,8 @@ concurrency:
1314

1415
jobs:
1516
coprocessor-docker-build:
16-
if: startsWith(github.head_ref, 'mergify/merge-queue/')
17+
if: &build-trigger-condition |
18+
startsWith(github.head_ref, 'mergify/merge-queue/') || startsWith(github.base_ref, 'release/')
1719
uses: ./.github/workflows/coprocessor-docker-build.yml
1820
permissions: &docker_permissions
1921
actions: 'read' # Required to read workflow run information
@@ -30,22 +32,22 @@ jobs:
3032
CGR_USERNAME: ${{ secrets.CGR_USERNAME }}
3133
CGR_PASSWORD: ${{ secrets.CGR_PASSWORD }}
3234
gateway-contracts-docker-build:
33-
if: startsWith(github.head_ref, 'mergify/merge-queue/')
35+
if: *build-trigger-condition
3436
uses: ./.github/workflows/gateway-contracts-docker-build.yml
3537
permissions: *docker_permissions
3638
secrets: *docker_secrets
3739
host-contracts-docker-build:
38-
if: startsWith(github.head_ref, 'mergify/merge-queue/')
40+
if: *build-trigger-condition
3941
uses: ./.github/workflows/host-contracts-docker-build.yml
4042
permissions: *docker_permissions
4143
secrets: *docker_secrets
4244
kms-connector-docker-build:
43-
if: startsWith(github.head_ref, 'mergify/merge-queue/')
45+
if: *build-trigger-condition
4446
uses: ./.github/workflows/kms-connector-docker-build.yml
4547
permissions: *docker_permissions
4648
secrets: *docker_secrets
4749
test-suite-docker-build:
48-
if: startsWith(github.head_ref, 'mergify/merge-queue/')
50+
if: *build-trigger-condition
4951
uses: ./.github/workflows/test-suite-docker-build.yml
5052
permissions: *docker_permissions
5153
secrets: *docker_secrets

0 commit comments

Comments
 (0)