Skip to content

Commit 6d4fa66

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/jose-6.1.3
2 parents 18a8d8a + 33ce7bf commit 6d4fa66

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
tag_release:
4848
needs: [quality_checks, get_commit_id, get_asdf_version]
49-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@3cba6a3733673bafc95526503478674332c26007
49+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@86a580e5eb38584c877ccfba5fc6f3f071faeffe
5050
with:
5151
dry_run: true
5252
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
jobs:
1111
dependabot-auto-approve-and-merge:
1212
needs: quality_checks
13-
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@3cba6a3733673bafc95526503478674332c26007
13+
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@86a580e5eb38584c877ccfba5fc6f3f071faeffe
1414
secrets:
1515
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
1616
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}
@@ -40,7 +40,7 @@ jobs:
4040
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4141

4242
pr_title_format_check:
43-
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@3cba6a3733673bafc95526503478674332c26007
43+
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@86a580e5eb38584c877ccfba5fc6f3f071faeffe
4444

4545
get_issue_number:
4646
runs-on: ubuntu-22.04
@@ -71,7 +71,7 @@ jobs:
7171

7272
tag_release:
7373
needs: [get_asdf_version]
74-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@3cba6a3733673bafc95526503478674332c26007
74+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@86a580e5eb38584c877ccfba5fc6f3f071faeffe
7575
with:
7676
dry_run: true
7777
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
tag_release:
4646
needs: [quality_checks, get_commit_id, get_asdf_version]
47-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@3cba6a3733673bafc95526503478674332c26007
47+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@86a580e5eb38584c877ccfba5fc6f3f071faeffe
4848
with:
4949
dry_run: false
5050
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

SAMtemplates/functions/main.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,12 @@ Resources:
431431
LOG_LEVEL: !Ref LogLevel
432432
NHS_NOTIFY_PRESCRIPTIONS_SQS_QUEUE_URL: !Ref NHSNotifyPrescriptionsSQSQueueUrl
433433
TABLE_NAME: !Ref PrescriptionNotificationStatesTableName
434-
API_KEY_SECRET: secrets-PSU-Notify-API-Key
435-
PRIVATE_KEY_SECRET: secrets-PSU-Notify-PrivateKey
436-
KID_SECRET: secrets-PSU-Notify-Application-KID
434+
API_KEY_SECRET:
435+
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-API-Key
436+
PRIVATE_KEY_SECRET:
437+
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-PrivateKey
438+
KID_SECRET:
439+
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-KID
437440
NHS_NOTIFY_ROUTING_ID_PARAM: !Ref NotifyRoutingPlanIDParam
438441
NOTIFY_API_BASE_URL_PARAM: !Ref NotifyAPIBaseURLParam
439442
MAKE_REAL_NOTIFY_REQUESTS_PARAM: !Ref EnableNotificationsExternalParam
@@ -497,8 +500,10 @@ Resources:
497500
Variables:
498501
LOG_LEVEL: !Ref LogLevel
499502
TABLE_NAME: !Ref PrescriptionNotificationStatesTableName
500-
APP_ID_SECRET: secrets-PSU-Notify-Application-ID
501-
API_KEY_SECRET: secrets-PSU-Notify-API-Key
503+
APP_ID_SECRET:
504+
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-Application-ID
505+
API_KEY_SECRET:
506+
Fn::ImportValue: !Sub ${StackName}-PSU-Notify-API-Key
502507
Metadata:
503508
BuildMethod: esbuild
504509
guard:

0 commit comments

Comments
 (0)