Tofu PR comment testing.
This commit is contained in:
@@ -122,6 +122,17 @@ jobs:
|
||||
get: true
|
||||
reconfigure: true
|
||||
|
||||
- name: Tofu PR Commenter
|
||||
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
||||
PR_COMMENTS_URL: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
||||
PR_COMMENT_ID: ${{ needs.check-and-create-pr.outputs.pr_comment_id }}
|
||||
with:
|
||||
commenter_type: init
|
||||
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
||||
|
||||
- name: Tofu Plan
|
||||
id: tofu-plan
|
||||
continue-on-error: true
|
||||
@@ -131,19 +142,17 @@ jobs:
|
||||
chdir: cloudflare
|
||||
out: cloudflare.tfplan
|
||||
|
||||
- run: |
|
||||
echo ${{ needs.check-and-create-pr.outputs.pr_url }}
|
||||
echo "${{ needs.check-and-create-pr.outputs.pr_url }}/reviews"
|
||||
|
||||
# - name: Tofu PR Commenter
|
||||
# uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
# PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
||||
# with:
|
||||
# commenter_type: plan
|
||||
# commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||
# commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
|
||||
- name: Tofu PR Commenter
|
||||
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
||||
PR_COMMENTS_URL: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
||||
PR_COMMENT_URI: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
||||
with:
|
||||
commenter_type: plan
|
||||
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
|
||||
|
||||
# - name: Tofu Report
|
||||
# uses: ahmadnassri/action-terraform-report@v4.1.14
|
||||
|
||||
Reference in New Issue
Block a user