Skip to content

Commit 75ba02d

Browse files
authored
Merge pull request #2 from juanmatias/feature/accept-random-parameters
Feature/accept random parameters
2 parents fd8c966 + ffbf922 commit 75ba02d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ inputs:
1111
required: true
1212
format:
1313
required: true
14+
others:
15+
required: false
1416
runs:
1517
using: 'docker'
1618
image: 'docker://owasp/dependency-check-action:latest'
@@ -25,3 +27,4 @@ runs:
2527
- '--out'
2628
- '/github/workspace/reports'
2729
- '--noupdate'
30+
- '${{ inputs.others }}'

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,16 @@ jobs:
3232
project: 'test'
3333
path: '.'
3434
format: 'HTML'
35+
others: ''
3536
- name: Upload Test results
3637
uses: actions/upload-artifact@master
3738
with:
3839
name: Depcheck report
3940
path: ${{github.workspace}}/reports
4041
```
4142

43+
*others* allows to pass random flags and parameters to the binary.
44+
4245
# How Do I Use It?
4346
We recommend adding the above example into your .github/workflows directory, using a name of your choice, in this example main.yml.
4447

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

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

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

0 commit comments

Comments
 (0)