From 70dabf6c4ebc266adda8b3c9f1e979fa18012deb Mon Sep 17 00:00:00 2001 From: Luka Racic Date: Wed, 24 Apr 2024 19:37:22 +0200 Subject: [PATCH] workflow 2 --- .github/workflows/sync-weblate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-weblate.yml b/.github/workflows/sync-weblate.yml index 904a454..9ac2446 100644 --- a/.github/workflows/sync-weblate.yml +++ b/.github/workflows/sync-weblate.yml @@ -17,7 +17,7 @@ jobs: id: weblate-commits run: | git fetch origin - COMMITS=$(git log --format=%H --grep="Weblate" origin/main..) + COMMITS=$(git log --grep="Weblate" origin/main --format=%H) echo "{commits}=$COMMITS" >> $GITHUB_OUTPUT - name: Set Other Branches @@ -25,6 +25,7 @@ jobs: run: | git fetch --prune --tags OTHER_BRANCHES=$(git branch -r | grep -v "origin/main" | cut -d'/' -f2 | xargs) + echo "these are the other branches $OTHER_BRANCHES" echo "{other_branches}=$OTHER_BRANCHES" >> $GITHUB_OUTPUT - name: Check for Commits in Other Branches