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:
Sergey "Shnatsel" Davidoff
2021-07-02 17:48:46 +02:00
committed by GitHub
parent 9f3eb562a2
commit 34e9832a80

View File

@@ -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 .