Skip to content

ci: Reuse workflow for i18n #62

ci: Reuse workflow for i18n

ci: Reuse workflow for i18n #62

Workflow file for this run

name: Translations
on:
pull_request: {}
push:
branches: [open_contracting]
jobs:
i18n:
uses: open-contracting/.github/.github/workflows/i18n-babel.yml@main

Check failure on line 8 in .github/workflows/i18n.yml

View workflow run for this annotation

GitHub Actions / Translations

Invalid workflow file

The workflow is not valid. In .github/workflows/i18n.yml (Line: 8, Col: 11): Error from called workflow open-contracting/.github/.github/workflows/i18n-babel.yml@main (Line: 6, Col: 9): Unexpected value 'require' In .github/workflows/i18n.yml (Line: 8, Col: 11): Error from called workflow open-contracting/.github/.github/workflows/i18n-babel.yml@main (Line: 31, Col: 14): Unrecognized named-value: 'command'. Located at position 1 within expression: command
with:
command: |
pybabel extract -F pyproject.toml -o locale/sphinx.pot -k '_ l_ lazy_gettext' .
pybabel update -N -i locale/sphinx.pot -d locale -D sphinx
dependencies: jinja2