From 90d76c1a8adce0e58f16852f3960139bb854c991 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Tue, 24 Oct 2023 23:10:02 +1100 Subject: [PATCH] Update check_nist.yaml --- .github/workflows/check_nist.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_nist.yaml b/.github/workflows/check_nist.yaml index ff85b549..4aed4681 100644 --- a/.github/workflows/check_nist.yaml +++ b/.github/workflows/check_nist.yaml @@ -30,6 +30,7 @@ jobs: export HOME=$GITHUB_WORKSPACE cd ~/cromite/tools test -d cves || mkdir -p cves + cd cves CY=$(date +%Y) docker run --rm --name tapir stratosphereips/tapir:latest \ @@ -40,6 +41,7 @@ jobs: - name: Check differences run: | + export HOME=$GITHUB_WORKSPACE cd ~/cromite CHANGES=0 && git diff --quiet || CHANGES=1 echo "CHANGES=$CHANGES" >> $GITHUB_ENV @@ -58,7 +60,7 @@ jobs: base: ${{ env.BRANCH }} #push-to-fork: uazo/cromite add-paths: | - build/patches/*.patch + tools/cves/*.txt commit-message: 'AUTOMATED - CVE results' title: New CVE results delete-branch: true