Skip to content

Commit

Permalink
Add ShiftLeft GitHub Action (#75)
Browse files Browse the repository at this point in the history
* Add ShiftLeft GitHub Action

* Update ShiftLeft GitHub Action
  • Loading branch information
LanikSJ authored Nov 14, 2024
1 parent 33fc989 commit 86019a6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/shiftleft-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ShiftLeft Scan

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
Scan-Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Perform Scan
uses: ShiftLeftSecurity/scan-action@master
env:
WORKSPACE: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SCAN_AUTO_BUILD: true
with:
output: reports

- name: Upload Report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: reports

0 comments on commit 86019a6

Please sign in to comment.