-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from vouch-opensource/feature/add-working-direc…
…tory add optional option to specify working directory
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
java-version: '8' | ||
|
||
- name: NVD Scan | ||
uses: vouch-opensource/clojure-nvd-scan@v0.1 | ||
uses: vouch-opensource/clojure-nvd-scan@v0.2 | ||
with: | ||
config-filename: '.nvd/config.json' | ||
aliases: 'dev:main' | ||
|
@@ -37,3 +37,18 @@ jobs: | |
### Configuration | ||
Refer to [nvd-clojure configuration options](https://github.com/rm-hull/nvd-clojure#configuration-options). This github action uses the json configuration format. | ||
### Working directory | ||
In case you want to run the NVD scan in a different directory than the default GITHUB_WORKSPACE, you can specify the | ||
`working-directory` option | ||
|
||
```yml | ||
- name: NVD Scan | ||
uses: vouch-opensource/[email protected] | ||
with: | ||
working-directory: './cljs' | ||
config-filename: '../.nvd/config.json' | ||
``` | ||
|
||
Note that in case you also want to specify a config file, you have to provide a relative path from the working-directory. |
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