Still tweaking...

This commit is contained in:
2025-11-19 12:15:36 -05:00
parent c0cf18032e
commit cc7f950d06
@@ -114,11 +114,7 @@ jobs:
working-directory: .
chdir: cloudflare
- name: ANSI to HTML
id: ansi-to-html-init
uses: https://git.trez.wtf/Trez/actions-ansi-to-html@v1.0.1
with:
input: ${{ steps.tofu-init.outputs.init-output }}
- run: echo "${{ steps.tofu-init.outputs.init-output }}"
- name: Tofu PR Commenter
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
@@ -129,8 +125,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
with:
commenter_type: init
commenter_input: ${{ steps.ansi-to-html-init.outputs.contents }}
# commenter_input: ${{ steps.tofu-init.outputs.init-output }}
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
@@ -145,12 +140,6 @@ jobs:
chdir: cloudflare
out: cloudflare.tfplan
- name: ANSI to HTML
id: ansi-to-html-plan
uses: https://git.trez.wtf/Trez/actions-ansi-to-html@v1.0.1
with:
input: ${{ steps.tofu-plan.outputs.plan-output }}
- name: Tofu PR Commenter
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
env:
@@ -160,8 +149,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
with:
commenter_type: plan
commenter_input: ${{ steps.ansi-to-html-plan.outputs.contents }}
# commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
pr_comments_url: ${{ env.PR_COMMENTS_URL }}