Skip to content

Commit e1ecf0f

Browse files
authored
Merge pull request #377 from NHSDigital/bug/ELI-215-hotfix
(ELI-452) changing branch checkout
2 parents 920a5aa + fa9c2d9 commit e1ecf0f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/cicd-2-publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
steps:
3131
- name: "Checkout code"
3232
uses: actions/checkout@v5
33+
with: ${{ github.ref_name }}
3334

3435
- name: "Set CI/CD variables"
3536
id: variables
@@ -70,6 +71,7 @@ jobs:
7071

7172
- name: "Checkout Repository"
7273
uses: actions/checkout@v5
74+
with: ${{ github.ref_name }}
7375

7476
- name: "Build lambda artefact"
7577
run: |

.github/workflows/cicd-3-test-deploy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
if: >
1818
${{
19-
github.event.workflow_run.conclusion == 'success' &&
20-
github.event.workflow_run.head_branch == 'main'
19+
github.event.workflow_run.conclusion == 'success'
2120
}}
2221
outputs:
2322
terraform_version: ${{ steps.vars.outputs.terraform_version }}

0 commit comments

Comments
 (0)