File tree 5 files changed +20
-65
lines changed
5 files changed +20
-65
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Lint and Clean'
2
2
3
3
on :
4
- pull_request :
5
-
6
- push :
7
- branches :
8
- - main
4
+ - pull_request
9
5
10
6
jobs :
11
- fmt :
12
- name : Terraform FMT
13
- runs-on : ubuntu-latest
14
- container :
15
- image : hashicorp/terraform:latest
16
- steps :
17
- - uses : actions/checkout@v2
18
- - run : terraform fmt --recursive --diff -check=true
7
+ fmt_and_lint :
8
+ name : Terraform fmt and tflint
9
+ uses : truefoundry/github-workflows-public/.github/workflows/terraform-lint-format.yml@v0.1.1
Original file line number Diff line number Diff line change 3
3
- pull_request
4
4
5
5
jobs :
6
- docs :
7
- runs-on : ubuntu-latest
8
- steps :
9
- - uses : actions/checkout@v2
10
- with :
11
- ref : ${{ github.event.pull_request.head.ref }}
12
-
13
- - name : Render terraform docs and push changes back to PR
14
- uses : terraform-docs/gh-actions@main
15
- with :
16
- git-push : " true"
6
+ terraform-docs-generator :
7
+ name : Generate terraform docs
8
+ uses : truefoundry/github-workflows-public/.github/workflows/terraform-doc-generator.yml@v0.1.1
9
+ with :
10
+ commit_ref : ${{ github.event.pull_request.head.ref }}
Original file line number Diff line number Diff line change
1
+ name : Vulnerability scanning
2
+ on :
3
+ - pull_request
4
+
5
+ jobs :
6
+ terraform-scan :
7
+ name : Vulnerability scanning
8
+ uses : truefoundry/github-workflows-public/.github/workflows/terraform-scan.yml@v0.1.1
9
+ secrets :
10
+ snyk_token : ${{ secrets.SNYK_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ terraform {
6
6
version = " 4.81.0"
7
7
}
8
8
time = {
9
- source = " hashicorp/time"
9
+ source = " hashicorp/time"
10
10
version = " 0.12.1"
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments