Commit Graph

4 Commits

Author SHA1 Message Date
Evan Goode ca1eaefc86 actions: Replace L10N_SSH_KEY secret with RSM CI GitHub token
This will reduce the number of secrets we have to manage. We already use
the RSM_CI_APP_ID and RSM_CI_APP_PRIVATE_KEY in `do-release.yaml`.
2025-07-28 09:26:43 +00:00
Marek Blaha ca3c428ec0 github: Do not run scheduled workflow on forks 2023-11-22 13:10:19 +00:00
Aleš Matěj d6053a7d5f Workflow for *.pot sync exits if only creation dates were changed
Otherwise the dnf5-l10n repo might contain mostly empty commits.
2023-11-22 09:36:38 +00:00
Marek Blaha fe3837aff4 Workflow for *.pot synchronization to weblate
This workflow runs periodically once a day, but it's also possible to
run it ad hoc from the GitHub web interface. It consists of the
following steps:

- Clone the dnf5 repository.
- Build fresh *.pot files using the gettext-potfiles CMake target.
- Clone the dnf5-l10n synchronization repository.
- Each *.pot file represents a Weblate component. For each file, a
  directory is created (if it doesn't already exist), the *.pot file is
  copied there, and a PATH file with the actual location of the component
  in the dnf5 source tree is created.
- The new version is then directly pushed into the dnf5-l10n repository.

The dnf5-l10n repository serves the purpose of reducing commit traffic
with new translations coming from Weblate. This approach helps us
maintain a cleaner dnf5 Git history. New translations from Weblate will
be pulled automatically as part of the prepare-release GitHub workflow.

Thanks to cockpit team for inspiration!
2023-11-21 08:12:08 +00:00