Skip to content

Commit e958872

Browse files
committed
Merge branch 'main' of https://github.com/NHSDigital/eps-assist-me into amazon-bedrock-slackbot
2 parents 4680d82 + 0055531 commit e958872

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

.github/scripts/fix_cdk_json.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ fix_string_key versionNumber "${VERSION_NUMBER}"
4242
fix_string_key commitId "${COMMIT_ID}"
4343
fix_string_key logRetentionInDays "${LOG_RETENTION_IN_DAYS}"
4444
fix_string_key logLevel "${LOG_LEVEL}"
45+
fix_string_key slackBotToken "${SLACK_BOT_TOKEN}"
46+
fix_string_key slackSigningSecret "${SLACK_SIGNING_SECRET}"

.github/workflows/cdk_release_code.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ on:
4141
required: false
4242
REGRESSION_TESTS_PEM:
4343
required: false
44+
SLACK_BOT_TOKEN:
45+
required: false
46+
SLACK_SIGNING_SECRET:
47+
required: false
4448

4549
jobs:
4650
release_code:
@@ -110,6 +114,8 @@ jobs:
110114
COMMIT_ID: "${{ inputs.COMMIT_ID }}"
111115
LOG_RETENTION_IN_DAYS: "${{ inputs.LOG_RETENTION_IN_DAYS }}"
112116
LOG_LEVEL: "${{ inputs.LOG_LEVEL }}"
117+
SLACK_BOT_TOKEN: "${{ secrets.SLACK_BOT_TOKEN }}"
118+
SLACK_SIGNING_SECRET: "${{ secrets.SLACK_SIGNING_SECRET }}"
113119

114120
- name: Show diff
115121
run: |

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,5 @@ jobs:
120120
REGRESSION_TESTS_PEM: ${{ secrets.REGRESSION_TESTS_PEM }}
121121
DEV_CLOUD_FORMATION_CHECK_VERSION_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_CHECK_VERSION_ROLE }}
122122
DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }}
123+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
124+
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ jobs:
7575
secrets:
7676
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}
7777
CDK_PULL_IMAGE_ROLE: ${{ secrets.DEV_CDK_PULL_IMAGE_ROLE }}
78+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
79+
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ jobs:
136136
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}
137137
CDK_PULL_IMAGE_ROLE: ${{ secrets.DEV_CDK_PULL_IMAGE_ROLE }}
138138
REGRESSION_TESTS_PEM: ${{ secrets.REGRESSION_TESTS_PEM }}
139+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
140+
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}
139141

140142
create_release_notes:
141143
needs: [tag_release, package_code, get_commit_id, release_dev]

0 commit comments

Comments
 (0)