Skip to content

Commit 7fedab0

Browse files
committed
Pipeline development - the gift that keeps on giving
1 parent 1f44052 commit 7fedab0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
run: poetry install --no-root
187187

188188
- name: Get Apigee access token
189-
if: ${{ startsWith(inputs.sub_environment, 'pr-') }}
189+
if: ${{ if inputs.apigee_environment != 'int' }}
190190
working-directory: tests/e2e_automation
191191
env:
192192
APIGEE_PASSWORD: ${{ secrets.APIGEE_PASSWORD }}
@@ -217,6 +217,7 @@ jobs:
217217
callback_url: "https://oauth.pstmn.io/v1/callback"
218218
username: ${{ secrets.CIS2_E2E_USERNAME }}
219219
scope: "nhs-cis2"
220+
USE_STATIC_APPS: ${{ inputs.apigee_environment == 'int' && 'True' || 'False' }}
220221
Postman_Auth_client_Id: ${{ secrets.Postman_Auth_client_Id }} # The following static app values are only needed in INT
221222
Postman_Auth_client_Secret: ${{ secrets.Postman_Auth_client_Secret }}
222223
RAVS_client_Id: ${{ secrets.RAVS_client_Id }}

0 commit comments

Comments
 (0)