Skip to content

Commit 382c071

Browse files
committed
VED-812: Add test pipeline trigger.
1 parent f78df74 commit 382c071

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/run-e2e-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,19 @@ on:
3232
sub_environment:
3333
type: string
3434
description: Set the sub environment name e.g. pr-xxx, or green/blue in higher environments
35+
# TODO - remove
36+
pull_request:
37+
types: [opened]
3538

3639
jobs:
3740
e2e-tests:
3841
runs-on: ubuntu-latest
3942
environment:
4043
name: ${{ inputs.environment }}
4144
env: # Sonarcloud - do not allow direct usage of untrusted data
42-
APIGEE_ENVIRONMENT: ${{ inputs.apigee_environment }}
43-
BACKEND_ENVIRONMENT: ${{ inputs.environment }}
44-
BACKEND_SUB_ENVIRONMENT: ${{ inputs.sub_environment }}
45+
APIGEE_ENVIRONMENT: ${{ inputs.apigee_environment || internal-dev }}
46+
BACKEND_ENVIRONMENT: ${{ inputs.environment || dev }}
47+
BACKEND_SUB_ENVIRONMENT: ${{ inputs.sub_environment || internal-dev }}
4548
APIGEE_USERNAME: ${{ vars.APIGEE_USERNAME }}
4649
permissions:
4750
id-token: write

0 commit comments

Comments
 (0)