From d2f23de231ec68e0e496ec268f866ba62f8a6186 Mon Sep 17 00:00:00 2001 From: Mikhail Chugunkov Date: Sat, 11 Jul 2020 15:07:43 +0300 Subject: [PATCH] Don't fail test workflow on release Tests need all tags to be fetched but latest tag already pushed to master on release. For this reason git fetch fails on workflows started with git push --tags --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fe11985e3..ee06b9a302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - uses: olafurpg/setup-scala@v7 with: java-version: ${{ matrix.java }} - - run: git fetch --tags + - run: git fetch --tags -f - run: # for GitOps tests git config --global user.email "scalafmt@scalameta.org" && git config --global user.name "scalafmt"