diff --git a/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml b/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml index a823943..88d14f1 100644 --- a/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml +++ b/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml @@ -114,6 +114,12 @@ jobs: working-directory: . chdir: cloudflare + - name: ANSI to HTML + id: ansi-to-html + uses: justinm/actions-ansi-to-html@v1.0.0 + with: + input: ${{ steps.tofu-init.outputs.init-output }} + - name: Tofu PR Commenter uses: https://git.trez.wtf/Trez/tf-pr-commenter@main env: @@ -123,7 +129,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }} with: commenter_type: init - commenter_input: ${{ steps.tofu-init.outputs.init-output }} + commenter_input: ${{ steps.ansi-to-html.outputs.contents }} + # 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 }}