diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml new file mode 100644 index 0000000..52077ed --- /dev/null +++ b/.github/workflows/translations.yml @@ -0,0 +1,22 @@ +name: Update translatable texts + +on: + push: + branches: + - develop + +jobs: + translations: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Generate translatable texts + run: | + python3 tools/extract_pot.py + - name: Push translatable texts back to repo + uses: stefanzweifel/git-auto-commit-action@master + with: + commit_message: Update translatable texts + commit_user_name: SABnzbd Automation + commit_user_email: bugs@sabnzbd.org + commit_author: SABnzbd Automation