-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathupdate-translation-coverage.yaml
More file actions
34 lines (28 loc) · 894 Bytes
/
update-translation-coverage.yaml
File metadata and controls
34 lines (28 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Update Translation Coverage in README
on:
push:
paths:
- app/src/main/res/values*/strings.xml
workflow_dispatch:
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}
- name: Setup Python 3
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Calculate translation coverage and update TRANSLATIONS.md
run: python .github/scripts/update_translation_coverage.py
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Updated translation coverage