Skip to content

Commit

Permalink
add tfsec to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVeni committed Feb 12, 2024
1 parent 06268ff commit 1c656ef
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tfsec-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: tfsec
on:
push:
branches:
- tfsecOnCI
- main
pull_request:
jobs:
tfsec:
name: tfsec sarif report
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@master

- name: tfsec
uses: tfsec/tfsec-sarif-action@main
with:
sarif_file: tfsec.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif

0 comments on commit 1c656ef

Please sign in to comment.