Update strings in the translations repository from the source repository #764
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update strings in the translations repository from the source repository | |
on: | |
schedule: | |
- cron: '45 0 * * *' # at 0:45 UTC | |
# allow to run the workflow manually | |
workflow_dispatch: | |
jobs: | |
update-translations-source: | |
name: Update strings in the translations repository from the source repository | |
runs-on: ubuntu-latest | |
# use pre-built Fedora container | |
container: ghcr.io/rpm-software-management/dnf-ci-host | |
steps: | |
- name: Checkout ci-dnf-stack | |
uses: actions/checkout@v2 | |
with: | |
repository: rpm-software-management/ci-dnf-stack | |
path: ci-dnf-stack | |
- name: Check out l10n repo | |
uses: actions/checkout@v2 | |
with: | |
path: l10n | |
- name: Check out source repo | |
uses: actions/checkout@v2 | |
with: | |
repository: rpm-software-management/dnf-plugins-extras | |
path: source | |
- name: Update *.pot files | |
uses: ./ci-dnf-stack/.github/actions/l10n-update-pot | |
with: | |
branch: master |