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.
 
 
 

49 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. - ".github/workflows/i18n.yml"
  14. pull_request:
  15. paths:
  16. - "i18n/**"
  17. - ".github/workflows/i18n.yml"
  18. workflow_dispatch:
  19. permissions:
  20. contents: read
  21. jobs:
  22. extract-translation-templates:
  23. name: Extract translation templates
  24. runs-on: ubuntu-24.04
  25. # Same-repository pull requests already run via the push event;
  26. # run pull_request jobs only for pull requests from forks.
  27. if: >-
  28. github.event_name != 'pull_request'
  29. || github.event.pull_request.head.repo.full_name != github.repository
  30. steps:
  31. - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
  32. - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
  33. with:
  34. python-version: '3.14'
  35. - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
  36. - uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
  37. - name: Extract translation catalog templates (POT) files
  38. run: just --justfile i18n/justfile extract-translation-templates