Skip to content

Commit

Permalink
chore: make i18n ci actually work
Browse files Browse the repository at this point in the history
chore: make i18n ci actually work
  • Loading branch information
leaftail1880 authored Mar 10, 2024
2 parents 8b41903 + b1cbaf6 commit b8ca39a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: i18n CI
on:
push:
branches:
Expand Down Expand Up @@ -36,12 +36,15 @@ jobs:
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git pull
npx exitzero "git add 'lang/' && git commit -m 'ci: extract i18n strings'"
exit 0
# pull only from main branch so it will not fetch all tags
git pull origin main
git add apps/postybirb-ui/src/lang/*
git commit -m 'ci: extract i18n messages'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
branch: ${{ github.ref }}

0 comments on commit b8ca39a

Please sign in to comment.