Compare commits

...

6 commits

Author SHA1 Message Date
df3eaccfd6 Merge pull request 'chore: Only use plan summary in comment' (#14) from pgi-only-comment-summary into main
All checks were successful
Tofu Apply k8s-wheatley / tofu-apply-k8s-wheatley (push) Successful in 28s
Tofu Apply pve01.wheatley.in templates / tofu-apply-templates (push) Successful in 30s
Reviewed-on: #14
2026-04-07 10:18:24 +02:00
83c11117fe
feat: Filter summary in all workflows
All checks were successful
Tofu Plan pve01.wheatley.in templates / tofu-plan-templates (pull_request) Successful in 27s
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 29s
2026-04-07 10:09:36 +02:00
927f6f3d66
chore: Revert resource modification
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 23s
2026-04-03 10:43:15 +02:00
ff51d7f571
chore: Modify resource to check output
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 21s
2026-04-03 10:18:34 +02:00
cd62f3f561
chore: Tweak sed command
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 24s
2026-04-03 10:14:52 +02:00
a7ad1647aa
chore: Only use plan summary in comment
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 1m3s
2026-04-03 10:11:09 +02:00
4 changed files with 12 additions and 4 deletions

View file

@ -87,11 +87,13 @@ jobs:
<details><summary>Show Apply</summary>
```
${{ steps.apply.outputs.stdout }}
APPLY_PLACEHOLDER
```
</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,11 +88,13 @@ jobs:
<details><summary>Show Apply</summary>
```
${{ steps.apply.outputs.stdout }}
APPLY_PLACEHOLDER
```
</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,11 +74,13 @@ jobs:
<details><summary>Show Plan</summary>
```
${{ steps.plan.outputs.stdout }}
PLAN_PLACEHOLDER
```
</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,11 +75,13 @@ jobs:
<details><summary>Show Plan</summary>
```
${{ steps.plan.outputs.stdout }}
PLAN_PLACEHOLDER
```
</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 \