From 4726c8e413f25ea649761dc5f6ea3d7116079700 Mon Sep 17 00:00:00 2001 From: Antonio Berbece Date: Wed, 25 Sep 2024 13:38:35 +0100 Subject: [PATCH] fix deploy pipeline --- .github/workflows/tf-quality-check.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tf-quality-check.yml b/.github/workflows/tf-quality-check.yml index cdb7a3c..f4d43ad 100644 --- a/.github/workflows/tf-quality-check.yml +++ b/.github/workflows/tf-quality-check.yml @@ -60,20 +60,19 @@ jobs: github-token: ${{ secrets.INTEGRATIONS_PAT }} script: | const output = `## Terraform Quality Check Update 🤖 - This is an automated message generated by the Terraform-Quality-Check workflow run. It displays the statuses of the formatting, initialisation and validation of the Terraform source files. - - ### Code Quality - 🖌 Terraform Format and Style -> \`${{ steps.fmt.outcome }}\` - ⚙️ Terraform Initialization -> \`${{ steps.init.outcome }}\` - ✅ Terraform Validation -> \`${{ steps.validate.outcome }}\` + This is an automated message generated by the CI run. It displays the statuses of the formatting, initialisation, validation and planning of the Terraform source files. - ### Plan - 🟡 Terraform Plan -> \`${{ steps.planStep.outcome }}\` + ## Quality Check + 🖌 Terraform Format and Style: ${{ steps.fmt.outcome }} + ⚙️ Terraform Initialization: ${{ steps.init.outcome }} + ✔️ Terraform Validation: ${{ steps.validate.outcome }} + ## Plan + 📋 Check the full plan output here: ${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId} *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`; - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,