Testing other actions...
This commit is contained in:
@@ -152,16 +152,36 @@ jobs:
|
|||||||
|
|
||||||
- run: echo "${{ steps.tofu-plan.outputs.plan-output }}"
|
- run: echo "${{ steps.tofu-plan.outputs.plan-output }}"
|
||||||
|
|
||||||
- name: ANSI to HTML
|
# - name: ANSI to HTML
|
||||||
|
# id: ansi-to-html-plan
|
||||||
|
# uses: https://git.trez.wtf/Trez/actions-ansi-to-html@v1.0.3
|
||||||
|
# env:
|
||||||
|
# ACTIONS_STEP_DEBUG: true
|
||||||
|
# with:
|
||||||
|
# input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||||
|
|
||||||
|
- name: Convert ANSI color codes to HTNL
|
||||||
id: ansi-to-html-plan
|
id: ansi-to-html-plan
|
||||||
uses: https://git.trez.wtf/Trez/actions-ansi-to-html@v1.0.3
|
uses: justinm/actions-ansi-to-html@v0
|
||||||
env:
|
|
||||||
ACTIONS_STEP_DEBUG: true
|
|
||||||
with:
|
with:
|
||||||
input: ${{ steps.tofu-plan.outputs.plan-output }}
|
path: ./cloudflare.tfplan
|
||||||
|
|
||||||
- run: echo "${{ steps.ansi-to-html-plan.outputs.contents }}"
|
- run: echo "${{ steps.ansi-to-html-plan.outputs.contents }}"
|
||||||
|
|
||||||
|
- name: Comment PR with execution number
|
||||||
|
uses: thollander/actions-comment-pull-request@v3
|
||||||
|
with:
|
||||||
|
message: |
|
||||||
|
<details>
|
||||||
|
<summary>output.log</summary>
|
||||||
|
\`\`\`
|
||||||
|
${{ steps.ansi-to-html-plan.outputs.contents }}
|
||||||
|
\`\`\`
|
||||||
|
</details>
|
||||||
|
*${{ steps.resolve-comment-id.outputs.comment-id }}*
|
||||||
|
mode: upsert
|
||||||
|
pr-number: ${{ env.PR_NUMBER }}
|
||||||
|
|
||||||
- name: Tofu PR Commenter
|
- name: Tofu PR Commenter
|
||||||
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
|
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user