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) {