-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add plugin and create github workflow
- Loading branch information
Showing
2 changed files
with
45 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,19 @@ | ||
name: 'Dependency-Track' | ||
|
||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
# Generates a BoM and uploads it to OWASP Dependency Track | ||
- name: Generates BoM and upload to OWASP DTrack | ||
id: riskscoreFromDT | ||
uses: Quobis/[email protected] | ||
with: | ||
url: 'https://deptrack.ocp.cloudscale.puzzle.ch' | ||
key: '${{ secrets.SECRET_OWASP_DT_KEY }}' | ||
language: 'java' | ||
- name: Get the output time | ||
run: echo "The risk score of the project is ${{ steps.riskscoreFromDT.outputs.riskscore }}" |
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