Files
element-x-ios/.github/workflows/translations-pr.yml
T
renovate[bot] 3f3aa79a48 Update actions/checkout action to v7 (#5791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 14:49:05 +01:00

51 lines
1.4 KiB
YAML

name: Open Translations PR
on:
schedule:
# At 03:00 on every Monday UTC
- cron: "0 3 * * 1"
workflow_dispatch:
permissions: {}
jobs:
open-translations-pr:
runs-on: macos-26
timeout-minutes: 15
# Skip in forks
if: github.repository == 'element-hq/element-x-ios'
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup environment
run: source ci_scripts/ci_common.sh && setup_github_actions_translations_environment
- name: Download All Translations
run: swift run -q tools download-strings --all-languages
- name: Verify Translations
run: swift run -q tools locheck
- name: SAS Translations
run: swift run -q tools generate-sas
- name: Create PR for Translations
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
author: Element CI <ci@element.io>
commit-message: Translations update
title: Translations update
body: |
- Translations update
labels: pr-i18n
branch: translations/update
base: develop
add-paths: |
*.strings
*.stringsdict
**/Strings.swift