File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name: Pre-commit check
3
3
# Controls when the workflow will run
4
4
on :
5
5
pull_request :
6
- branches : [master ]
6
+ branches : [main ]
7
7
workflow_dispatch :
8
8
9
9
env :
10
10
TF_DOCS_VERSION : v0.16.0
11
- TFSEC_VERSION : v1.27.6
12
- TFLINT_VERSION : v0.41.0
11
+ TFLINT_VERSION : v0.44.1
12
+ TF_VERSION : " 1.3.4 "
13
13
permissions :
14
14
contents : read
15
15
jobs :
42
42
tar -zxvf terraform_docs.tar.gz terraform-docs
43
43
chmod +x terraform-docs
44
44
mv terraform-docs /usr/local/bin/
45
- - name : Setup tfsec
46
- run : |
47
- curl --output tfsec https://github.com/aquasecurity/tfsec/releases/download/${{env.TFSEC_VERSION}}/tfsec-linux-amd64
48
- chmod +x tfsec
49
- mv tfsec /usr/local/bin/
50
45
- name : Pre-commit checks
51
46
uses :
pre-commit/[email protected]
You can’t perform that action at this time.
0 commit comments