mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-18 01:18:09 +01:00
OSV export: fix handling of advisories without an ID (#948)
* OSV export: fix handling of advisories without an ID * job will fail without -f flag on rm
This commit is contained in:
committed by
GitHub
parent
9f3eb562a2
commit
34e9832a80
2
.github/workflows/export-osv.yml
vendored
2
.github/workflows/export-osv.yml
vendored
@@ -21,6 +21,8 @@ jobs:
|
||||
fi
|
||||
mkdir -p crates
|
||||
rustsec-admin osv crates
|
||||
# FIXME: hack to avoid committing advisories without an ID
|
||||
rm -f crates/RUSTSEC-0000-0000.json
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add .
|
||||
|
||||
Reference in New Issue
Block a user