Moving around vars.
This commit is contained in:
@@ -63,11 +63,6 @@ jobs:
|
|||||||
needs: check-and-create-pr
|
needs: check-and-create-pr
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
|
||||||
PR_URL: ${{ needs.check-and-create-pr.outputs.pr_url }}
|
|
||||||
PR_COMMENTS_URL: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
|
||||||
PR_COMMENT_ID: ${{ needs.check-and-create-pr.outputs.pr_comment_id }}
|
|
||||||
PR_COMMENT_URI: ${{ needs.check-and-create-pr.outputs.pr_comment_uri }}
|
|
||||||
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
|
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
|
||||||
outputs:
|
outputs:
|
||||||
tofu-cloudflare-plan: ${{ steps.tofu_plan.outputs.plan-output }}
|
tofu-cloudflare-plan: ${{ steps.tofu_plan.outputs.plan-output }}
|
||||||
@@ -133,6 +128,11 @@ jobs:
|
|||||||
- name: Tofu PR Commenter
|
- name: Tofu PR Commenter
|
||||||
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
||||||
env:
|
env:
|
||||||
|
PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
||||||
|
PR_URL: ${{ needs.check-and-create-pr.outputs.pr_url }}
|
||||||
|
PR_COMMENTS_URL: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
||||||
|
PR_COMMENT_ID: ${{ needs.check-and-create-pr.outputs.pr_comment_id }}
|
||||||
|
PR_COMMENT_URI: ${{ needs.check-and-create-pr.outputs.pr_comment_uri }}
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
with:
|
with:
|
||||||
commenter_type: init
|
commenter_type: init
|
||||||
@@ -150,6 +150,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Tofu PR Commenter
|
- name: Tofu PR Commenter
|
||||||
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
uses: https://git.trez.wtf/Trez/terraform-tofu-pr-commenter@main
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }}
|
||||||
|
PR_URL: ${{ needs.check-and-create-pr.outputs.pr_url }}
|
||||||
|
PR_COMMENTS_URL: ${{ needs.check-and-create-pr.outputs.pr_comments_url }}
|
||||||
|
PR_COMMENT_ID: ${{ needs.check-and-create-pr.outputs.pr_comment_id }}
|
||||||
|
PR_COMMENT_URI: ${{ needs.check-and-create-pr.outputs.pr_comment_uri }}
|
||||||
with:
|
with:
|
||||||
commenter_type: plan
|
commenter_type: plan
|
||||||
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||||
|
|||||||
Reference in New Issue
Block a user