Compare commits

..

No commits in common. "df3eaccfd6d7654566f7da0438fa6944f647e606" and "3540cf61e3739df4d6525820dc898419d6dbec68" have entirely different histories.

4 changed files with 4 additions and 12 deletions

View file

@ -87,13 +87,11 @@ jobs:
<details><summary>Show Apply</summary>
```
APPLY_PLACEHOLDER
${{ steps.apply.outputs.stdout }}
```
</details>
run: |
filtered_apply=$(echo "${{ steps.apply.outputs.stdout }}" | grep -vE '^\s*(module\.|data\.|resource\.).+: (Reading\.\.\.|Read complete after|Refreshing state)' | sed '/./,$!d')
COMMENT_BODY="${COMMENT_BODY//'APPLY_PLACEHOLDER'/$filtered_apply}"
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
existing_comment=$(curl -s \

View file

@ -88,13 +88,11 @@ jobs:
<details><summary>Show Apply</summary>
```
APPLY_PLACEHOLDER
${{ steps.apply.outputs.stdout }}
```
</details>
run: |
filtered_apply=$(echo "${{ steps.apply.outputs.stdout }}" | grep -vE '^\s*(module\.|data\.|resource\.).+: (Reading\.\.\.|Read complete after|Refreshing state)' | sed '/./,$!d')
COMMENT_BODY="${COMMENT_BODY//'APPLY_PLACEHOLDER'/$filtered_apply}"
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
existing_comment=$(curl -s \

View file

@ -74,13 +74,11 @@ jobs:
<details><summary>Show Plan</summary>
```
PLAN_PLACEHOLDER
${{ steps.plan.outputs.stdout }}
```
</details>
run: |
filtered_plan=$(echo "${{ steps.plan.outputs.stdout }}" | grep -vE '^\s*(module\.|data\.|resource\.).+: (Reading\.\.\.|Read complete after|Refreshing state)' | sed '/./,$!d')
COMMENT_BODY="${COMMENT_BODY//'PLAN_PLACEHOLDER'/$filtered_plan}"
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
existing_comment=$(curl -s \

View file

@ -75,13 +75,11 @@ jobs:
<details><summary>Show Plan</summary>
```
PLAN_PLACEHOLDER
${{ steps.plan.outputs.stdout }}
```
</details>
run: |
filtered_plan=$(echo "${{ steps.plan.outputs.stdout }}" | grep -vE '^\s*(module\.|data\.|resource\.).+: (Reading\.\.\.|Read complete after|Refreshing state)' | sed '/./,$!d')
COMMENT_BODY="${COMMENT_BODY//'PLAN_PLACEHOLDER'/$filtered_plan}"
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
existing_comment=$(curl -s \