Moving around vars.
This commit is contained in:
@@ -63,11 +63,6 @@ jobs:
|
||||
needs: check-and-create-pr
|
||||
runs-on: ubuntu-latest
|
||||
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 }}
|
||||
outputs:
|
||||
tofu-cloudflare-plan: ${{ steps.tofu_plan.outputs.plan-output }}
|
||||
@@ -133,6 +128,11 @@ jobs:
|
||||
- name: Tofu PR Commenter
|
||||
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 }}
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
with:
|
||||
commenter_type: init
|
||||
@@ -150,6 +150,12 @@ jobs:
|
||||
|
||||
- name: Tofu PR Commenter
|
||||
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:
|
||||
commenter_type: plan
|
||||
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||
|
||||
Reference in New Issue
Block a user