File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed
Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ concurrency:
88 group : ${{ github.workflow }}-${{ github.ref }}
99 cancel-in-progress : false
1010
11+ permissions :
12+ id-token : write
13+ contents : read
14+
1115jobs :
12- create -dynamic-environment :
16+ destroy -dynamic-environment :
1317 name : Destroy Dynamic Environment
1418 runs-on : ubuntu-latest
1519
3236 --terraformAction "destroy" \
3337 --overrideProjectName "nhs" \
3438 --overrideRoleName "nhs-main-acct-supplier-api-github-deploy"
39+
40+ destroy-dynamic-proxy :
41+ name : Destroy Dynamic Proxy
42+ runs-on : ubuntu-latest
43+
44+ steps :
45+ - uses : actions/checkout@v5
46+
47+ - name : Trigger dynamic proxy destruction
48+ env :
49+ APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
50+ APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
51+ shell : bash
52+ run : |
53+ .github/scripts/dispatch_internal_repo_workflow.sh \
54+ --infraRepoName "nhs-notify-supplier-api" \
55+ --releaseVersion "main" \
56+ --targetComponent "api" \
57+ --targetWorkflow "proxy-destroy.yaml" \
58+ --targetEnvironment "pr${{ github.event.number }}" \
59+ --apimEnvironment "internal-dev-sandbox" \
60+ --boundedContext "notify-supplier"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export async function createLetter(params: {
3333 targetFilename ,
3434 ) ;
3535
36- const letter : Omit < Letter , "ttl" | "supplierStatus" > = {
36+ const letter : Omit < Letter , "ttl" | "supplierStatus" | "supplierStatusSk" > = {
3737 id : letterId ,
3838 supplierId,
3939 specificationId,
@@ -65,7 +65,7 @@ export function createLetterDto(params: {
6565 url,
6666 } = params ;
6767
68- const letter : Omit < Letter , "ttl" | "supplierStatus" > = {
68+ const letter : Omit < Letter , "ttl" | "supplierStatus" | "supplierStatusSk" > = {
6969 id : letterId ,
7070 supplierId,
7171 specificationId,
You can’t perform that action at this time.
0 commit comments