ignore ami_id #3
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
--- | |
name: pre-commit-check | |
on: | |
push: | |
branches: | |
- master | |
- prod | |
- develop | |
jobs: | |
pre-commit-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
- name: Install prerequisites | |
run: ./bin/install-ubuntu.sh | |
- name: initialize Terraform | |
run: terraform init --backend=false | |
- name: pre-commit | |
uses: pre-commit/[email protected] | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
# many of these are covered by better reviewdog linters below | |
SKIP: >- | |
terraform_tflint_deep, | |
no-commit-to-branch, | |
terraform_tflint_nocreds, | |
terraform_tfsec |