File tree Expand file tree Collapse file tree 6 files changed +19
-9
lines changed
infrastructure/terraform/per_account/modules/billing_alarms Expand file tree Collapse file tree 6 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2025-04-23
4+ - [ PI-879] Update Billing alarm recipients
5+ - [ PI-880] Allow dependabot PRs to pass branch name check
6+
37## 2025-04-04
48- [ PI-876] Add Backups permission policy to PROD
59
Original file line number Diff line number Diff line change 1- 2025.04.04.a
1+ 2025.04.23
Original file line number Diff line number Diff line change 1+ - [ PI-879] Update Billing alarm recipients
2+ - [ PI-880] Allow dependabot PRs to pass branch name check
Original file line number Diff line number Diff line change 11resource "aws_ssm_parameter" "billing_alert_subscribers" {
22 name = " ${ var . project } -billing-subscribers"
33 type = " StringList"
4- value = " rowan.gill1 @nhs.net,warran.mavrodaris2 @nhs.net"
4+ value = " james.linnell2 @nhs.net,[email protected] ,[email protected] ,[email protected] ,jade.havenhand1 @nhs.net" 55}
66
77data "aws_ssm_parameter" "billing_alert_subscribers" {
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " connecting-party-manager"
3- version = " 2025.04.04.a "
3+ version = " 2025.04.23 "
44description = " Repository for the Connecting Party Manager API and related services"
55authors = [" NHS England" ]
66license = " LICENSE.md"
Original file line number Diff line number Diff line change @@ -6,14 +6,18 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
66# Define a regular expression pattern to match the desired branch naming conventions
77feature_pattern=" ^feature/PI-[0-9]+[-][A-Za-z0-9\_]*$"
88release_pattern=" ^release/[0-9]{4}-[0-9]{2}-[0-9]{2}(-[a-z])?$"
9+ dependabot_pattern=" ^dependabot/.*"
910
1011if [[ $current_branch =~ $feature_pattern ]]; then
11- echo " The branch '$current_branch ' conforms to the feature branch pattern."
12- exit 0
12+ echo " The branch '$current_branch ' conforms to the feature branch pattern."
13+ exit 0
1314elif [[ $current_branch =~ $release_pattern ]]; then
14- echo " The branch '$current_branch ' conforms to the release branch pattern."
15- exit 0
15+ echo " The branch '$current_branch ' conforms to the release branch pattern."
16+ exit 0
17+ elif [[ $current_branch =~ $dependabot_pattern ]]; then
18+ echo " The branch '$current_branch ' conforms to the dependabot branch pattern."
19+ exit 0
1620else
17- echo " The branch '$current_branch ' does not conform to any of the allowed patterns."
18- exit 1
21+ echo " The branch '$current_branch ' does not conform to any of the allowed patterns."
22+ exit 1
1923fi
You can’t perform that action at this time.
0 commit comments