Skip to content

build(deps): bump send and express in /web #209

build(deps): bump send and express in /web

build(deps): bump send and express in /web #209

Workflow file for this run

name: PR - Terraform Plan
on:
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
terraform:
name: Terraform
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./infra
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- name: terraform fmt
id: fmt
run: terraform fmt -check -recursive
- name: terraform init
id: init
run: terraform init -input=false -no-color
- name: terraform validate
id: validate
run: terraform validate -no-color
- name: terraform plan
id: plan
continue-on-error: true
run: terraform plan -input=false -no-color
- name: Update PR
uses: actions/github-script@v7
continue-on-error: true
env:
PLAN: "${{ steps.plan.outputs.stdout }}"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const output = `
#### Terraform Plan
<details>
<summary>Expand</summary>
\`\`\`
${process.env.PLAN.trim()}
\`\`\`
</details>`;
github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, body: output })
- name: Check For Success
if: steps.plan.outcome == 'failure'
run: exit 1