From ca9bd56b8bcfcac6c7606c54e4f5ec953026a0a2 Mon Sep 17 00:00:00 2001 From: Chris Kemp Date: Fri, 22 Dec 2023 09:18:54 +0000 Subject: [PATCH] Make step optional --- .github/workflows/_deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_deploy.yml b/.github/workflows/_deploy.yml index 03b3660fd..39dae35b3 100644 --- a/.github/workflows/_deploy.yml +++ b/.github/workflows/_deploy.yml @@ -127,12 +127,13 @@ jobs: test--smoke: needs: [get-branch-from-workflow-file, terraform--apply] runs-on: [self-hosted, ci] - if: inputs.run_smoke_tests == 'true' + if: always() steps: - uses: actions/checkout@v4 with: ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }} - - uses: ./.github/actions/make/ + - if: inputs.run_smoke_tests == 'true' + uses: ./.github/actions/make/ with: command: test--smoke requires-aws: true