lemmur-app-android/.github/workflows/weblate.yml

31 lines
715 B
YAML
Raw Normal View History

2022-01-09 21:39:28 +01:00
name: weblate
on:
schedule:
# every friday at 19:00 UTC
- cron: "0 19 * * 5"
jobs:
weblate:
name: Pull Weblate changes to repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch changes
run: |
git remote add weblate http://weblate.yerbamate.ml/git/lemmur/lemmur
git fetch weblate
git merge weblate/master
2022-01-16 14:11:08 +01:00
- name: Regenerate l10n_from_string
run: |
dart run scripts/gen_l10n_from_string.dart
2022-01-09 21:39:28 +01:00
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.12.0
with:
reviewers: shilangyu,krawieck
title: Weblate update
branch: weblate