Merge pull request #1113 from araujoarthur0/fixing-comment #250
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: Update missing translations | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
missing-translations: | |
if: github.repository == 'TTLApp/time-to-leave' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Write missing translation to file | |
run: | | |
python scripts/check_languages.py -output missing.md -report_summary -report_key_mismatch -report_missing_translations | |
- name: Update comment | |
uses: peter-evans/create-or-update-comment@v4 | |
with: | |
# Update the comment in issue 475 | |
# https://github.com/TTLApp/time-to-leave/issues/475#issuecomment-808787273 | |
comment-id: 808787273 | |
edit-mode: replace | |
body-path: missing.md | |
reactions: hooray |