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 }}
|
||||
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user