diff --git a/.github/actions/terraform-apply/action.yml b/.github/actions/terraform-apply/action.yml index 8a2f91c..20e3374 100644 --- a/.github/actions/terraform-apply/action.yml +++ b/.github/actions/terraform-apply/action.yml @@ -20,21 +20,21 @@ runs: terraform_version: 1.9.2 - name: Upload Configuration - uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.3.1 id: apply-upload with: workspace: ${{ inputs.TF_WORKSPACE }} directory: ${{ inputs.TF_DIRECTORY }} - name: Create Apply Run - uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/create-run@v1.3.1 id: apply-run with: workspace: ${{ env.TF_WORKSPACE }} configuration_version: ${{ steps.apply-upload.outputs.configuration_version_id }} - name: Apply - uses: hashicorp/tfc-workflows-github/actions/apply-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/apply-run@v1.3.1 if: fromJSON(steps.apply-run.outputs.payload).data.attributes.actions.IsConfirmable id: apply with: diff --git a/.github/actions/terraform-plan/action.yml b/.github/actions/terraform-plan/action.yml index ac98a3d..e34e09a 100644 --- a/.github/actions/terraform-plan/action.yml +++ b/.github/actions/terraform-plan/action.yml @@ -23,7 +23,7 @@ runs: terraform_version: 1.9.2 - name: Upload Configuration - uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.3.1 id: plan-upload with: workspace: ${{ inputs.TF_WORKSPACE }} @@ -31,7 +31,7 @@ runs: speculative: true - name: Create Plan Run - uses: hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/create-run@v1.3.1 id: plan-run with: workspace: ${{ inputs.TF_WORKSPACE }} @@ -39,7 +39,7 @@ runs: plan_only: true - name: Get Plan Output - uses: hashicorp/tfc-workflows-github/actions/plan-output@v1.0.0 + uses: hashicorp/tfc-workflows-github/actions/plan-output@v1.3.1 id: plan-output with: plan: ${{ fromJSON(steps.plan-run.outputs.payload).data.relationships.plan.data.id }} @@ -56,7 +56,7 @@ runs: issue_number: context.issue.number, }); const botComment = comments.find(comment => { - return comment.user.type === 'Bot' && comment.body.includes('HCP Terraform Plan Output') + return comment.user.type === 'Bot' && comment.body.includes('${{ inputs.APP_NAME }} - HCP Terraform Plan Output') }); const output = `#### ${{ inputs.APP_NAME }} - HCP Terraform Plan Output \`\`\`