From 7aaad270c29fccc145f413005b87c1d41cf8028b Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Fri, 26 Aug 2022 16:20:11 +0200 Subject: [PATCH] ignore local project for licenses folder and don't fail on empty commit --- .github/workflows/go.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 322adb2..155586f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,10 +33,9 @@ jobs: run: | go install github.com/google/go-licenses@latest rm -rf licenses - go-licenses save . --save_path="licenses" + go-licenses save . --save_path="licenses" --ignore "github.com/bastiandoetsch/mullvad-best-server" git add licenses - git commit -m "Updated licenses" - git push + git commit -m "Updated licenses" && git push || echo "No changes to commit" git clean -f && git reset --hard - name: Create release tag