Skip to content

Commit 7ee9301

Browse files
committed
bug: update tfsec.yml file workflow with shared-workflows
1 parent c63dea7 commit 7ee9301

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.github/workflows/tfsec.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +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
8+
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
9+
secrets: inherit
10+
with:
11+
working_directory: '.'

0 commit comments

Comments
 (0)