From 10de76afa7c407879a26509c1341a3fe9da693a8 Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Tue, 2 Apr 2024 23:47:24 +0200 Subject: [PATCH] Added check for existence of branches repository --- .github/workflows/gradle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 0035bd22..fb321be1 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -59,7 +59,8 @@ jobs: BRANCH: ${{ github.ref_name }} run: |- git merge $BRANCH - git pull origin badges + export BRANCHES=$(git branch -r) + test $(echo $BRANCHES | grep badges) && git pull origin badges shell: bash - name: Test with Gradle Wrapper