Skip to content

Commit

Permalink
Merge pull request #2 from juanmatias/feature/accept-random-parameters
Browse files Browse the repository at this point in the history
Feature/accept random parameters
  • Loading branch information
javixeneize authored Apr 28, 2021
2 parents fd8c966 + ffbf922 commit 75ba02d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ inputs:
required: true
format:
required: true
others:
required: false
runs:
using: 'docker'
image: 'docker://owasp/dependency-check-action:latest'
Expand All @@ -25,3 +27,4 @@ runs:
- '--out'
- '/github/workspace/reports'
- '--noupdate'
- '${{ inputs.others }}'
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ jobs:
project: 'test'
path: '.'
format: 'HTML'
others: ''
- name: Upload Test results
uses: actions/upload-artifact@master
with:
name: Depcheck report
path: ${{github.workspace}}/reports
```

*others* allows to pass random flags and parameters to the binary.

# How Do I Use It?
We recommend adding the above example into your .github/workflows directory, using a name of your choice, in this example main.yml.

Expand All @@ -62,4 +65,4 @@ Downloading this and opening it in a browser will give you the following (for ex

Dependency check action was developed by the Santander UK Security Engineering team, namely:

- [Javier Domínguez Ruiz](https://github.com/javixeneize)
- [Javier Domínguez Ruiz](https://github.com/javixeneize)

0 comments on commit 75ba02d

Please sign in to comment.