From 2b0d2e1b24c49460ca1aad0363009718b19e79dc Mon Sep 17 00:00:00 2001 From: Eric Cabrel TIOGO Date: Sat, 3 Aug 2024 15:49:21 +0200 Subject: [PATCH] fix: tf plan comment --- .github/workflows/infra-plan.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/infra-plan.yml b/.github/workflows/infra-plan.yml index 7076ba0..9b2aacd 100644 --- a/.github/workflows/infra-plan.yml +++ b/.github/workflows/infra-plan.yml @@ -73,10 +73,10 @@ jobs: return comment.user.type === 'Bot' && comment.body.includes('HCP Terraform Plan Output') }); const output = `#### HCP Terraform Plan Output - - Plan: ${{ steps.plan-output.outputs.add }} to add, ${{ steps.plan-output.outputs.change }} to change, ${{ steps.plan-output.outputs.destroy }} to destroy. - - [HCP Terraform Plan](${{ steps.plan-run.outputs.run_link }}) + \`\`\` + Plan: ${{ steps.plan-output.outputs.add }} to add, ${{ steps.plan-output.outputs.change }} to change, ${{ steps.plan-output.outputs.destroy }} to destroy. + \`\`\` + [View the plan detail](${{ steps.plan-run.outputs.run_link }}) `; // 3. Delete previous comment so PR timeline makes sense if (botComment) {