Skip to content

Commit 14b4bf5

Browse files
authored
Merge pull request #379 from NHSDigital/bug/ELI-215-hotfix
(ELI-452) yaml fixes
2 parents e1ecf0f + aa4d079 commit 14b4bf5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

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

3536
- name: "Set CI/CD variables"
3637
id: variables
@@ -71,7 +72,8 @@ jobs:
7172

7273
- name: "Checkout Repository"
7374
uses: actions/checkout@v5
74-
with: ${{ github.ref_name }}
75+
with:
76+
ref: ${{ github.ref_name }}
7577

7678
- name: "Build lambda artefact"
7779
run: |

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
metadata:
1515
name: "Resolve metadata from triggering run"
1616
runs-on: ubuntu-latest
17-
if: >
18-
${{
19-
github.event.workflow_run.conclusion == 'success'
20-
}}
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2118
outputs:
2219
terraform_version: ${{ steps.vars.outputs.terraform_version }}
2320
tag: ${{ steps.tag.outputs.name }}

0 commit comments

Comments
 (0)