Trigger Sync Translations Workflow #1
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: Trigger Sync Translations Workflow | |
on: | |
workflow_dispatch: | |
jobs: | |
trigger_sync_translations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger Sync Translations Workflow | |
run: | | |
BRANCHES=("stable" "canary") | |
for BRANCH in "${BRANCHES[@]}"; do | |
gh workflow run "Sync translations to other languages" --ref $BRANCH | |
done | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Trigger Clean orphaned files Workflow | |
run: | | |
BRANCHES=("stable" "canary") | |
for BRANCH in "${BRANCHES[@]}"; do | |
gh workflow run "Clean up orphaned translation files" --ref $BRANCH | |
done | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |