blob: a4e7e3f282fa1363297c865320a70358d624a3d2 [file] [log] [blame]
Raffael Meyerf44a8412024-03-05 13:36:31 +01001# This workflow is agnostic to branches. Only maintain on develop branch.
2# To add/remove branches just modify the matrix.
3
4name: Regenerate POT file (translatable strings)
5on:
6 schedule:
7 # 9:30 UTC => 3 PM IST Sunday
8 - cron: "30 9 * * 0"
9 workflow_dispatch:
10
11jobs:
12 regeneratee-pot-file:
13 name: Release
14 runs-on: ubuntu-latest
15 strategy:
16 fail-fast: false
17 matrix:
18 branch: ["develop"]
19 permissions:
20 contents: write
21
22 steps:
23 - name: Checkout
24 uses: actions/checkout@v4
25 with:
26 ref: ${{ matrix.branch }}
27
28 - name: Setup Python
29 uses: actions/setup-python@v5
30 with:
31 python-version: "3.12"
32
33 - name: Run script to update POT file
34 run: |
35 bash ${GITHUB_WORKSPACE}/.github/helper/update_pot_file.sh
36 env:
37 GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
38 BASE_BRANCH: ${{ matrix.branch }}