-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3831 from LibreSign/feat/add-owasp-dependency-check
feat: add OWASP dependency check
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX-FileCopyrightText: 2024 LibreCode coop and contributors | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
name: "OWASP Dependency-Check" | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
dependency-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run OWASP Dependency-Check | ||
uses: dependency-check/Dependency-Check_Action@main | ||
with: | ||
format: 'ALL' | ||
project: 'LibreSign' | ||
path: './' | ||
args: > | ||
--failOnCVSS 7 | ||
--enableRetired | ||
--enableExperimental | ||
- name: Upload Dependency-Check report | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: dependency-check-report | ||
path: dependency-check-report.html |