Skip to content

Commit

Permalink
all in one run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
racicLuka committed Apr 24, 2024
1 parent 7a5a99a commit fcbc531
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sync-weblate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ jobs:
echo "these are the other branches $OTHER_BRANCHES"
MISSING_COMMITS=()
MISSING_BRANCHES=()
echo "branches ${{ steps.set-other-branches.outputs.other_branches }}"
echo "commits ${{ steps.weblate-commits.outputs.commits }}"
for BRANCH in ${{ steps.set-other-branches.outputs.other_branches }}; do
for COMMIT in ${{ steps.weblate-commits.outputs.commits }}; do
for BRANCH in $OTHER_BRANCHES; do
for COMMIT in $COMMITS; do
if ! git branch --contains $COMMIT | grep -q "remotes/origin/$BRANCH"; then
echo "Commit $COMMIT does not exist in branch $BRANCH"
MISSING_COMMITS+=($COMMIT)
Expand Down

0 comments on commit fcbc531

Please sign in to comment.