Details and summary tags for issue and PR comments.

This commit is contained in:
2025-11-25 10:32:59 -05:00
parent 65e9063e41
commit 821bdf56b5
@@ -159,7 +159,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
with:
commenter_type: plan
commenter_input: ${{ steps.plain-tofu-plan.outputs.uncolored }}
commenter_input: |
<details><summary>Tofu Plan (click to expand)</summary>
```terraform
${{ steps.plain-tofu-plan.outputs.uncolored }}
```
</details>
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
@@ -179,7 +185,7 @@ jobs:
<details><summary>Tofu Plan (click to expand)</summary>
```terraform
${{ steps.tofu-plan.outputs.plan-output }}
${{ steps.plain-tofu-plan.outputs.uncolored }}
```
</details>