Skip to content

Commit 5d10516

Browse files
authored
set up to use local config directory
1 parent 835d2bd commit 5d10516

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/update_sadp_cves.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,14 @@ jobs:
5252
cp -a ./package/. .
5353
ls -al
5454
# run date to get timestamp and cve-cli version info
55-
NODE_CONFIG_ENV=sadp ./bin/run.js date -v
55+
NODE_CONFIG_ENV=sadp \
56+
NODE_CONFIG_DIR=./.github/workflows/config \
57+
./bin/run.js date -v
5658
5759
# update repository using deltalog and cvelistV5
58-
NODE_CONFIG_ENV=sadp ./bin/run.js cvelist update --sourceCvelist
60+
NODE_CONFIG_ENV=sadp \
61+
NODE_CONFIG_DIR=./.github/workflows/config \
62+
./bin/run.js cvelist update --sourceCvelist
5963
6064
# echo "downloads:"
6165
# ls -alR downloads && ls -R downloads | grep CVE- | wc -l

0 commit comments

Comments
 (0)