Still tweaking...
This commit is contained in:
@@ -114,11 +114,7 @@ jobs:
|
|||||||
working-directory: .
|
working-directory: .
|
||||||
chdir: cloudflare
|
chdir: cloudflare
|
||||||
|
|
||||||
- name: ANSI to HTML
|
- run: echo "${{ steps.tofu-init.outputs.init-output }}"
|
||||||
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 }}
|
|
||||||
|
|
||||||
- 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
|
||||||
@@ -129,8 +125,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
with:
|
with:
|
||||||
commenter_type: init
|
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 }}
|
commenter_exitcode: ${{ steps.tofu-init.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 }}
|
||||||
@@ -145,12 +140,6 @@ jobs:
|
|||||||
chdir: cloudflare
|
chdir: cloudflare
|
||||||
out: cloudflare.tfplan
|
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
|
- 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:
|
||||||
@@ -160,8 +149,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
with:
|
with:
|
||||||
commenter_type: plan
|
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 }}
|
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user