From 34e9832a80c81f282fb713f17409a85e0f725870 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Fri, 2 Jul 2021 17:48:46 +0200 Subject: [PATCH] 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 --- .github/workflows/export-osv.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/export-osv.yml b/.github/workflows/export-osv.yml index a438933..4ea505a 100644 --- a/.github/workflows/export-osv.yml +++ b/.github/workflows/export-osv.yml @@ -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 .