Skip to content

Localize

Localize #543

Workflow file for this run

name: Localize
on:
push:
branches:
- main
paths:
- '**.strings'
- '**.stringsdict'
# Also run every day at midnight to pick up new localizations
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
Localize:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- shell: bash
name: Localize
env:
TDBUILD_TEAM_ID: ${{ secrets.TDBUILD_TEAM_ID }}
TDBUILD_AAD_APPLICATION_CLIENT_ID: ${{ secrets.TDBUILD_AAD_APPLICATION_CLIENT_ID }}
TDBUILD_AAD_APPLICATION_CLIENT_SECRET: ${{ secrets.TDBUILD_AAD_APPLICATION_CLIENT_SECRET }}
run: scripts/localize.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: Latest localized resource files from Touchdown Build
title: '[Localization] Localized Resource Files'
body: 'Latest localized resource files from Touchdown Build'
branch: tdbuild
labels: Automated PR
branch-suffix: timestamp