Chore/am 2046 initial repo setup #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OWASP Dependency Check | |
on: | |
pull_request: | |
branches: | |
- '**' # Trigger on all branches | |
schedule: | |
- cron: '0 0 * * *' # Runs daily at midnight | |
workflow_dispatch: # Allows manual trigger from the GitHub Actions tab | |
jobs: | |
owasp_scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: OWASP Dependency Check | |
uses: jeremylong/gh-dependency-check-action@v4 | |
with: | |
scanPath: './yarn.lock' | |
suppressionFile: './suppression.xml' | |
failOnCVSS: 1 # Fail if CVSS score > 1 | |
- name: Upload OWASP report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: owasp-dependency-check-report | |
path: dependency-check-report.html |