mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
Co-authored-by: Diptanil Saha <diptanil@frappe.io> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
# Orchestrator — lives on develop only.
|
|
#
|
|
# Triggers on the weekly schedule and dispatches the runner workflow on each
|
|
# hotfix branch listed in the matrix. To add or remove a branch, edit the
|
|
# matrix below.
|
|
#
|
|
# POT-change triggers are handled by the runner on each hotfix branch
|
|
# (run-hotfix-translation-sync.yml), since GitHub only evaluates a workflow
|
|
# from the branch that receives the push.
|
|
|
|
name: Sync translations to hotfix branches
|
|
|
|
on:
|
|
schedule:
|
|
# 10:00 UTC Monday
|
|
- cron: "0 10 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
trigger-runners:
|
|
name: Trigger sync → ${{ matrix.hotfix_branch }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
hotfix_branch:
|
|
- version-16-hotfix
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Dispatch runner on ${{ matrix.hotfix_branch }}
|
|
run: |
|
|
gh workflow run run-hotfix-translation-sync.yml \
|
|
--repo "${{ github.repository }}" \
|
|
--ref "${{ matrix.hotfix_branch }}"
|
|
env:
|
|
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|