Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <[email protected]>
  • Loading branch information
rdhar committed Dec 5, 2024
1 parent c4728e0 commit 58dca1e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tf_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,10 @@ jobs:
Warning: main.tf:1:1: Warning - Missing version constraint for provider "random" in `required_providers` (terraform_required_providers)
Warning: main.tf:1:1: Warning - terraform "required_version" attribute is required (terraform_required_version)
\`\`\`
</details>'
</details>
'
# tflint_raw=$(cat <<EOF
# ${{ steps.tflint.outputs.stdout }}
# EOF
# )
# tflint=$(echo "$tflint_raw" | sed "s/\`/'/g")
# tflint=$(echo "$tflint_raw" | sed 's/`/"/g')
tflint=$(echo "$tflint" | sed 's/`/\\`/g')
# Get body of PR comment from tf step output.
comment=$(gh api /repos/{owner}/{repo}/issues/comments/${{ steps.tf.outputs.comment-id }} --method GET --jq '.body')
Expand Down

0 comments on commit 58dca1e

Please sign in to comment.