Skip to content

Commit d19674d

Browse files
authored
Merge pull request #17 from clouddrove/issue-362
feat: updated tfsec.yml file and bug:updated changelog.yml name
2 parents 0a21331 + dda0a5b commit d19674d

File tree

2 files changed

+8
-40
lines changed

2 files changed

+8
-40
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: changelog
22
permissions: write-all
3-
43
on:
54
push:
65
tags:
76
- "*"
8-
# Allows you to run this workflow manually from the Actions tab
97
workflow_dispatch:
108
jobs:
11-
call-workflow-changelog:
9+
changelog:
1210
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
11+
secrets: inherit
1312
with:
1413
branch: 'master'

.github/workflows/tfsec.yml

+6-37
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,11 @@
11
name: tfsec
2+
permissions: write-all
23
on:
34
pull_request:
4-
5+
workflow_dispatch:
56
jobs:
67
tfsec:
7-
name: tfsec sarif report
8-
runs-on: ubuntu-latest
9-
10-
steps:
11-
- name: Clone repo
12-
uses: actions/checkout@master
13-
14-
- name: tfsec
15-
uses: aquasecurity/[email protected]
16-
with:
17-
sarif_file: tfsec.sarif
18-
working_directory: ./_example/
19-
full_repo_scan: true
20-
21-
- name: Upload SARIF file
22-
uses: github/codeql-action/upload-sarif@v1
23-
with:
24-
# Path to SARIF file relative to the root of the repository
25-
sarif_file: tfsec.sarif
26-
27-
- name: tfsec commenter for PR
28-
uses: tfsec/tfsec-pr-commenter-action@main
29-
with:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB}}
31-
working_directory: ./_example/
32-
33-
34-
- name: 'Terraform security scan Advanced'
35-
uses: triat/[email protected]
36-
if: github.event_name == 'pull_request'
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB}}
39-
tfsec_actions_working_dir: ./_example/
40-
tfsec_actions_comment: true
41-
tfsec_output_format: sarif
42-
continue-on-error: true
8+
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
9+
secrets: inherit
10+
with:
11+
working_directory: '.'

0 commit comments

Comments
 (0)