-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (32 loc) · 1.03 KB
/
update-pot-files.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/libdnf
ref: dnf-4-master
path: source
- name: Update *.pot files
uses: ./ci-dnf-stack/.github/actions/l10n-update-pot
with:
branch: dnf-4-master