Skip to content

Commit

Permalink
Add GitHub action for translation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff committed Feb 19, 2024
1 parent 2256840 commit 313a610
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/fix_translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fix translations
on:
pull_request:
workflow_dispatch:
jobs:
i18n-fixes:
name: Fix translated files
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout the latest commit
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Run translation fixes script
run: sh .github/scripts/fix-i18n.sh
- name: Commit changes
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
git commit -am "Fix translated files"
git push

0 comments on commit 313a610

Please sign in to comment.