Skip to content

Commit a7417db

Browse files
committed
Specify pipeline options for the d2d example
Signed-off-by: tdruez <[email protected]>
1 parent 567c35a commit a7417db

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/map-deploy-to-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: ./
1515
with:
16-
pipelines: "map_deploy_to_develop"
16+
pipelines: "map_deploy_to_develop:Java"
1717
input-urls:
1818
https://github.com/aboutcode-org/scancode.io/raw/main/scanpipe/tests/data/d2d/jars/from-flume-ng-node-1.9.0.zip#from
1919
https://github.com/aboutcode-org/scancode.io/raw/main/scanpipe/tests/data/d2d/jars/to-flume-ng-node-1.9.0.zip#to

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Workflows.
1818
- [Scan repo codebase](#scan-repo-codebase)
1919
- [Run a specific pipeline](#run-a-specific-pipeline)
2020
- [Run multiple pipelines](#run-multiple-pipelines)
21+
- [Specify pipeline options](#specify-pipeline-options)
2122
- [Choose the output formats](#choose-the-output-formats)
2223
- [Provide download URLs inputs](#provide-download-urls-inputs)
2324
- [Fetch pipelines inputs](#fetch-pipelines-inputs)
@@ -123,6 +124,17 @@ steps:
123124
VULNERABLECODE_URL: https://public.vulnerablecode.io/
124125
```
125126
127+
### Specify pipeline options
128+
129+
Use the "pipeline_name:option1,option2" syntax to select optional steps for the
130+
`map_deploy_to_develop` pipeline
131+
132+
```yaml
133+
- uses: aboutcode-org/scancode-action@beta
134+
with:
135+
pipelines: "map_deploy_to_develop:Java,JavaScript"
136+
```
137+
126138
#### Configuring `find_vulnerabilities` Pipeline
127139

128140
The `find_vulnerabilities` pipeline requires access to a VulnerableCode instance,

0 commit comments

Comments
 (0)