44  pull_request :
55
66jobs :
7+   #  TODO: #22 add job using https://github.com/reviewdog/action-alex
78  pre-commit :
89    runs-on : ubuntu-latest 
910    steps :
@@ -12,14 +13,10 @@ jobs:
1213        uses : actions/setup-python@v2 
1314      - name : Install prerequisites 
1415        run : ./bin/install-ubuntu.sh 
15-       - name : Setup Terraform 
16-         uses : hashicorp/setup-terraform@v1 
17-         with :
18-           terraform_version : ~> 0.12.29 
1916      - name : initialize Terraform 
2017        run : terraform init --backend=false 
2118      - name : pre-commit 
22-         uses : 
pre-commit/[email protected] .0   19+         uses : 
pre-commit/[email protected] .3   2320        env :
2421          AWS_DEFAULT_REGION : us-east-1 
2522          #  many of these are covered by better reviewdog linters below
@@ -28,23 +25,12 @@ jobs:
2825            no-commit-to-branch, 
2926            terraform_tflint_nocreds, 
3027            terraform_tfsec 
31- uses : stefanzweifel/git-auto-commit-action@v4 
32-         if : ${{ failure() }} 
33-         with :
34-           commit_message : Apply automatic changes 
35-           commit_options : " --no-verify" 
36-           #  Optional commit user and author settings
37-           commit_user_name : Linter Bot 
38-           commit_user_email : 
[email protected]  39-           commit_author : 
Linter Bot <[email protected] >  4028tflint :
4129    runs-on : ubuntu-latest 
4230    steps :
4331      - uses : actions/checkout@v2 
44-       - name : setup Terraform 
45-         uses : hashicorp/setup-terraform@v1 
46-         with :
47-           terraform_version : 0.12.26 
32+       - name : Install prerequisites 
33+         run : ./bin/install-ubuntu.sh 
4834      - name : Terraform init 
4935        run : terraform init --backend=false 
5036      - name : tflint 
5945    runs-on : ubuntu-latest 
6046    steps :
6147      - uses : actions/checkout@v2 
62-       - name : setup Terraform 
63-         uses : hashicorp/setup-terraform@v1 
64-         with :
65-           terraform_version : 0.12.26 
48+       - name : Install prerequisites 
49+         run : ./bin/install-ubuntu.sh 
6650      - name : Terraform init 
6751        run : terraform init --backend=false 
6852      - name : tfsec 
0 commit comments