File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 63
63
64
64
tfsec :
65
65
name : tfsec
66
+ if : contains(github.event_name, 'pull_request')
66
67
runs-on : ubuntu-latest
67
68
permissions :
68
69
pull-requests : write
@@ -71,10 +72,12 @@ jobs:
71
72
- name : Checkout code
72
73
uses : actions/checkout@v3
73
74
- name : tfsec
74
- uses : aquasecurity/tfsec-action@v1.0.2
75
+ id : tfsec
76
+ uses : aquasecurity/tfsec-pr-commenter-action@v1.3.1
75
77
with :
76
- additional_args : " --force-all-dirs --concise-output --code-theme=dark"
77
- version : " latest"
78
+ github_token : ${{ github.token }}
79
+ tfsec_args : " --force-all-dirs --concise-output --code-theme=dark --no-color"
80
+ tfsec_version : " latest"
78
81
79
82
caller-identity-check :
80
83
if : contains(github.event_name, 'pull_request')
Original file line number Diff line number Diff line change 35
35
- id : end-of-file-fixer
36
36
- id : mixed-line-ending
37
37
- id : trailing-whitespace
38
+ - repo : https://github.com/zricethezav/gitleaks
39
+ rev : v8.15.2
40
+ hooks :
41
+ - id : gitleaks
You can’t perform that action at this time.
0 commit comments