From bd7b323a422c1b28c6fa4c17b26a666907aee60e Mon Sep 17 00:00:00 2001 From: Elodie Billiot Date: Tue, 16 Jan 2024 17:33:00 +0100 Subject: [PATCH] fix: validate tag var --- .github/workflows/integration-cd.yml | 2 +- .github/workflows/preproduction-cd.yml | 2 +- .github/workflows/production-cd.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-cd.yml b/.github/workflows/integration-cd.yml index ac1b7e3..8a34107 100644 --- a/.github/workflows/integration-cd.yml +++ b/.github/workflows/integration-cd.yml @@ -38,7 +38,7 @@ jobs: with: workflow: integration-cd.yml repo: PrestaShopCorp/qanightlyresults-cd - inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "bulle": "${{ steps.get_bulle.outputs.BULLE }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}"}' + inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "bulle": "${{ steps.get_bulle.outputs.BULLE }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}", "commit": "${{ github.sha }}"}' token: ${{ secrets.TERRAFORM_ACCESS_TOKEN }} ref: 'refs/heads/fix/ci-deployment' # ref: 'refs/heads/main' diff --git a/.github/workflows/preproduction-cd.yml b/.github/workflows/preproduction-cd.yml index 7a6abaa..e78c16a 100644 --- a/.github/workflows/preproduction-cd.yml +++ b/.github/workflows/preproduction-cd.yml @@ -30,6 +30,6 @@ jobs: with: workflow: preproduction-cd.yml repo: PrestaShopCorp/qanightlyresults-cd - inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}"}' + inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}", "commit": "${{ github.sha }}"}' token: ${{ secrets.TERRAFORM_ACCESS_TOKEN }} ref: 'refs/heads/main' diff --git a/.github/workflows/production-cd.yml b/.github/workflows/production-cd.yml index 9dd41bb..4e7ac1f 100644 --- a/.github/workflows/production-cd.yml +++ b/.github/workflows/production-cd.yml @@ -29,6 +29,6 @@ jobs: with: workflow: production-cd.yml repo: PrestaShopCorp/qanightlyresults-cd - inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}"}' + inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}", "commit": "${{ github.sha }}"}' token: ${{ secrets.TERRAFORM_ACCESS_TOKEN }} ref: 'refs/heads/main' \ No newline at end of file