diff --git a/workflows/terraform-plan.yaml.tpl b/workflows/terraform-plan.yaml.tpl
index c0854e1..63f91c5 100644
--- a/workflows/terraform-plan.yaml.tpl
+++ b/workflows/terraform-plan.yaml.tpl
@@ -68,9 +68,9 @@ jobs:
- uses: actions/github-script@v7
if: github.event_name == 'pull_request'
env:
- PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
+ PLAN: "terraform\n$${{ steps.plan.outputs.stdout }}"
with:
- github-token: ${{ secrets.GH_TOKEN }}
+ github-token: $${{ secrets.GH_TOKEN }}
script: |
// 1. Retrieve existing bot comments for the PR
const { data: comments } = await github.rest.issues.listComments({
@@ -83,28 +83,28 @@ jobs:
})
// 2. Prepare format of the comment
- const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
- #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
- #### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
+ const output = `#### Terraform Format and Style 🖌\`$${{ steps.fmt.outcome }}\`
+ #### Terraform Initialization ⚙️\`$${{ steps.init.outcome }}\`
+ #### Terraform Validation 🤖\`$${{ steps.validate.outcome }}\`
Validation Output
\`\`\`\n
- ${{ steps.validate.outputs.stdout }}
+ $${{ steps.validate.outputs.stdout }}
\`\`\`
- #### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
+ #### Terraform Plan 📖\`$${{ steps.plan.outcome }}\`
Show Plan
\`\`\`\n
- ${process.env.PLAN}
+ $${process.env.PLAN}
\`\`\`
- *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
+ *Pusher: @$${{ github.actor }}, Action: \`$${{ github.event_name }}\`, Working Directory: \`$${{ env.tf_actions_working_dir }}\`, Workflow: \`$${{ github.workflow }}\`*`;
// 3. If we have a comment, update it, otherwise create a new one
if (botComment) {