Run migrations in a ECS container #1128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
paths: | |
- "infrastructure/applications/**/*" | |
- "infrastructure/applications/*" | |
name: Terraform Lint | |
env: | |
TF_WORKSPACE: "production" | |
jobs: | |
tfsec: | |
name: TFSec | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@master | |
- name: tfsec | |
uses: aquasecurity/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Terraform Format | |
id: fmt | |
run: terraform fmt -check | |
env: | |
TF_IN_AUTOMATION: 1 |