Skip to content

Commit

Permalink
Don't commit translations during the merge freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoming committed Jan 4, 2025
1 parent 0ddc6ca commit 13e0ea8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/i18n-string-sync-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Check mergefreeze status
id: mergefreeze
shell: bash # Enable pipefail
run: |
echo mergefreeze=$(curl "https://www.mergefreeze.com/api/branches/actualbudget/actual/master?access_token=${{ secrets.MERGEFREEZE_API_KEY}}" | jq -r .frozen) > $GITHUB_OUTPUT
- name: Pull latest translations
working-directory: actual
if: ${{steps.mergefreeze}}
run: |
# Not using git subtree to avoid merge commits
cp -r ../translations/*.json packages/desktop-client/locale/
Expand Down

0 comments on commit 13e0ea8

Please sign in to comment.