From 5a8d3ca84b08545cc9a292a284b119f1f2778382 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 13 Dec 2023 15:21:28 +0200 Subject: [PATCH] Do not fail CI when there are only allowed licenses. --- .github/workflows/cargo-audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml index 7684952..0e6169b 100644 --- a/.github/workflows/cargo-audit.yml +++ b/.github/workflows/cargo-audit.yml @@ -72,7 +72,7 @@ jobs: END - name: Remove allowed licenses - run: grep -v -f allowed-licenses.txt licenses.txt > unknown-licenses.txt + run: grep -v -f allowed-licenses.txt licenses.txt > unknown-licenses.txt || echo "All used licenses are allowed" - name: Assert that there are no unknown licenses run: >