Skip to content

Commit 9384e21

Browse files
authored
Merge pull request #6538 from NHSDigital/fix-dependabot-pr-e2e-tests
Remove unneeded secret inputs from E2E test workflow
2 parents 81f44b3 + 8880a0f commit 9384e21

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/call-end-to-end-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ on:
1616
HTTP_AUTH_TOKEN_FOR_TESTS:
1717
description: HTTP Basic Auth token for the environment under test
1818
required: false
19-
MAVIS_TESTING_REPO_ACCESS_TOKEN:
20-
description: Access token for the manage-vaccinations-in-schools-testing repository
21-
required: false
2219
IMMS_API_KEY_FOR_TESTS:
2320
description: API key to use NHS Immunisations API
2421
required: false
@@ -39,7 +36,6 @@ jobs:
3936
endpoint: ${{ inputs.endpoint }}
4037
secrets:
4138
HTTP_AUTH_TOKEN_FOR_TESTS: ${{ secrets.HTTP_AUTH_TOKEN_FOR_TESTS }}
42-
MAVIS_TESTING_REPO_ACCESS_TOKEN: ${{ secrets.MAVIS_TESTING_REPO_ACCESS_TOKEN }}
4339
IMMS_API_KEY: ${{ secrets.IMMS_API_KEY_FOR_TESTS }}
4440
IMMS_API_KID: ${{ secrets.IMMS_API_KID_FOR_TESTS }}
4541
IMMS_API_PEM: ${{ secrets.IMMS_API_PEM_FOR_TESTS }}

.github/workflows/end-to-end-tests-aws.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ on:
1212
type: string
1313
required: false
1414
default: next
15-
secrets:
16-
HTTP_AUTH_TOKEN_FOR_TESTS:
17-
description: HTTP Basic Auth token for the environment under test
18-
required: true
19-
MAVIS_TESTING_REPO_ACCESS_TOKEN:
20-
description: Access token for the manage-vaccinations-in-schools-testing repository
21-
required: true
2215

2316
permissions: {}
2417

.github/workflows/end-to-end-tests-on-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
with:
2020
git_reference_for_database_image: ${{ github.base_ref }}
2121
git_reference_for_application_image: ${{ github.head_ref }}
22-
secrets: inherit
2322

2423
local-e2e-flow:
2524
if: github.event.pull_request.head.repo.full_name != github.repository

0 commit comments

Comments
 (0)