Skip to content

Commit

Permalink
workflow 2
Browse files Browse the repository at this point in the history
  • Loading branch information
racicLuka committed Apr 24, 2024
1 parent c38ed46 commit 70dabf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync-weblate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ 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
id: set-other-branches
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
Expand Down

0 comments on commit 70dabf6

Please sign in to comment.