Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

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 da9e964 commit 4d797bf
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 @@ -45,9 +45,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 frozen=$(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.frozen == 'false' }}
run: |
# Not using git subtree to avoid merge commits
cp -r ../translations/*.json packages/desktop-client/locale/
Expand Down

0 comments on commit 4d797bf

Please sign in to comment.