Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

47 lines
1.4 KiB

  1. # SPDX-FileCopyrightText: 2026 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. name: Matrix i18n
  6. # Exercises the translation toolchain whenever something under i18n/ changes,
  7. # so that a dependency bump which breaks Sphinx/Babel fails here - before it
  8. # gets merged - rather than in the next scheduled translations run.
  9. on: # yamllint disable-line rule:truthy
  10. push:
  11. paths:
  12. - "i18n/**"
  13. pull_request:
  14. paths:
  15. - "i18n/**"
  16. workflow_dispatch:
  17. permissions:
  18. contents: read
  19. jobs:
  20. extract-translation-templates:
  21. name: Extract translation templates
  22. runs-on: ubuntu-24.04
  23. # Same-repository pull requests already run via the push event;
  24. # run pull_request jobs only for pull requests from forks.
  25. if: >-
  26. github.event_name != 'pull_request'
  27. || github.event.pull_request.head.repo.full_name != github.repository
  28. steps:
  29. - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
  30. - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
  31. with:
  32. python-version: '3.14'
  33. - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
  34. - uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
  35. - name: Extract translation catalog templates (POT) files
  36. run: just --justfile i18n/justfile extract-translation-templates