Skip to content

Commit efd21a2

Browse files
authored
Merge pull request #414 from NHSDigital/release/2024-11-19
Release/2024-11-19
2 parents 267f8dc + 2776916 commit efd21a2

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

.github/workflows/on-pr-close.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,17 @@ jobs:
2626
runs-on: [self-hosted, ci]
2727
needs: [parse-secrets]
2828
steps:
29-
- uses: actions/checkout@v4
29+
- name: Checkout Branch
30+
id: checkout-build-branch
31+
uses: actions/checkout@v4
32+
continue-on-error: true
3033
with:
31-
ref: ${{ env.BRANCH_NAME || 'main' }}
34+
ref: ${{ env.BRANCH_NAME }}
35+
- name: Fallback to main
36+
if: steps.checkout-build-branch.outcome == 'failure'
37+
uses: actions/checkout@v4
38+
with:
39+
ref: main
3240
- uses: ./.github/actions/make/
3341
with:
3442
command: build
@@ -39,9 +47,17 @@ jobs:
3947
runs-on: [self-hosted, ci]
4048
needs: [parse-secrets, build-base]
4149
steps:
42-
- uses: actions/checkout@v4
50+
- name: Checkout Branch for destroy
51+
id: checkout-destroy-branch
52+
uses: actions/checkout@v4
53+
continue-on-error: true
54+
with:
55+
ref: ${{ env.BRANCH_NAME }}
56+
- name: Fallback to main for destroy
57+
if: steps.checkout-destroy-branch.outcome == 'failure'
58+
uses: actions/checkout@v4
4359
with:
44-
ref: ${{ env.BRANCH_NAME || 'main' }}
60+
ref: main
4561
fetch-depth: 0
4662
- name: Remove PR workspaces
4763
uses: ./.github/actions/make/

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2024-11-19
4+
- [PI-601] Workspace destroy, use main branch as fallback
5+
36
## 2024-11-18
47
- [PI-601] Workspace destroy, use main branch if branch no longer exists
58

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024.11.18
1+
2024.11.19

changelog/2024-11-19.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [PI-601] Workspace destroy, use main branch as fallback

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "connecting-party-manager"
3-
version = "2024.11.18"
3+
version = "2024.11.19"
44
description = "Repository for the Connecting Party Manager API and related services"
55
authors = ["NHS England"]
66
license = "LICENSE.md"

0 commit comments

Comments
 (0)