Skip to content

Commit 9db8c17

Browse files
authored
fix script to delete old cloud formation stacks (#8)
## Summary - Routine Change ### Details - fix script to delete old cloud formation stacks
1 parent 28e6dfe commit 9db8c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/delete_stacks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mapfile -t ACTIVE_STACKS_ARRAY <<< "$ACTIVE_STACKS"
77
for i in "${ACTIVE_STACKS_ARRAY[@]}"
88
do
99
echo "Checking if stack $i has open pull request"
10-
PULL_REQUEST=${i//pr-/}
10+
PULL_REQUEST=${i//fhir-validator-pr-/}
1111
PULL_REQUEST=${PULL_REQUEST//sandbox-/}
1212
echo "Checking pull request id ${PULL_REQUEST}"
1313
URL="https://api.github.com/repos/NHSDigital/eps-FHIR-validator-lambda/pulls/${PULL_REQUEST}"

0 commit comments

Comments
 (0)