Merge pull request #536 from backryun/master #621
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate translations | |
on: [push] | |
jobs: | |
generate-translation-report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run XAML validator | |
uses: ThePBone/[email protected] | |
with: | |
source-xaml: 'GalaxyBudsClient/i18n/en.axaml' | |
translation-xaml: 'GalaxyBudsClient/i18n/*.axaml' | |
output-directory: 'meta/' | |
output-name-summary: 'translations.md' | |
custom-note: 'Translation instructions are available [in the wiki](https://github.com/ThePBone/GalaxyBudsClient/wiki/3.-How-to-help-with-translations).' | |
- name: Publish changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update translation statuses | |
file_pattern: meta/*.md |