seitime-frappe/.github/workflows/generate-pot-file.yml
Ankush Menat 4ce3c8582a
Revert "chore: add v15 to POT file mix" (#25990)
* Revert "chore: add v15 to POT file mix (#25983)"

This reverts commit c94de176c9.

* Update generate-pot-file.yml
2024-04-17 08:39:21 +00:00

35 lines
834 B
YAML

name: Regenerate POT file (translatable strings)
on:
schedule:
# 9:30 UTC => 3 PM IST Sunday
- cron: "30 9 * * 0"
workflow_dispatch:
jobs:
regeneratee-pot-file:
name: Release
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch: ["develop"]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run script to update POT file
run: |
bash ${GITHUB_WORKSPACE}/.github/helper/update_pot_file.sh
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
BASE_BRANCH: ${{ matrix.branch }}