Details and summary tags for issue and PR comments.
This commit is contained in:
@@ -159,7 +159,13 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
with:
|
with:
|
||||||
commenter_type: plan
|
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 }}
|
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
|
||||||
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
|
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
|
||||||
@@ -179,7 +185,7 @@ jobs:
|
|||||||
<details><summary>Tofu Plan (click to expand)</summary>
|
<details><summary>Tofu Plan (click to expand)</summary>
|
||||||
|
|
||||||
```terraform
|
```terraform
|
||||||
${{ steps.tofu-plan.outputs.plan-output }}
|
${{ steps.plain-tofu-plan.outputs.uncolored }}
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user