Skip to content

Commit b984ed6

Browse files
committed
Add REGRESSION_TESTS_APP_ID as an input variable
1 parent 4a7169e commit b984ed6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/cdk_release_code.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,5 +188,6 @@ jobs:
188188
with:
189189
ENVIRONMENT: ${{ inputs.TARGET_ENVIRONMENT }}
190190
VERSION_NUMBER: ${{ inputs.VERSION_NUMBER }}
191+
REGRESSION_TESTS_APP_ID: ${{ vars.REGRESSION_TESTS_APP_ID }}
191192
secrets:
192193
REGRESSION_TESTS_PEM: ${{ secrets.REGRESSION_TESTS_PEM }}

.github/workflows/run_regression_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
REGRESSION_TESTS_PEM:
1313
type: string
1414
default: "false"
15+
REGRESSION_TESTS_APP_ID:
16+
required: true
17+
type: string
1518
secrets:
1619
REGRESSION_TESTS_PEM:
1720
required: true
@@ -34,7 +37,7 @@ jobs:
3437
id: generate-token
3538
uses: actions/create-github-app-token@v2
3639
with:
37-
app-id: ${{ vars.REGRESSION_TESTS_APP_ID }}
40+
app-id: ${{ inputs.REGRESSION_TESTS_APP_ID }}
3841
private-key: ${{ secrets.REGRESSION_TESTS_PEM }}
3942
owner: "NHSDigital"
4043
repositories: "electronic-prescription-service-api-regression-tests"

0 commit comments

Comments
 (0)