Testing PR comment action.
This commit is contained in:
@@ -130,14 +130,12 @@ jobs:
|
||||
chdir: cloudflare
|
||||
out: cloudflare.tfplan
|
||||
|
||||
- name: Convert Plan to JSON
|
||||
run: |
|
||||
cd cloudflare
|
||||
tofu show cloudflare.tfplan > cloudflare_tf.txt
|
||||
tofu show -json cloudflare.tfplan > cloudflare_tf.json
|
||||
echo -e "Gitea: ${{ gitea.event_path }}\nGithub: ${{ github.event_path }}"
|
||||
cat "${{ gitea.event_path }}"
|
||||
cat /var/run/act/workflow/event.json
|
||||
- name: Tofu PR Commenter
|
||||
uses: alexnorell/tofu-pr-commenter@v2.0.0
|
||||
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