mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-13 09:28:02 -05:00
31 lines
656 B
YAML
31 lines
656 B
YAML
name: Update locales
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- app/src/main/res/values-*/strings.xml
|
|
- app/src/main/res/values/settings.xml
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
update-locales:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Add new locales
|
|
run: .scripts/new-locales.py
|
|
- name: Update locales
|
|
run: .scripts/locales.py
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v7.0.8
|
|
with:
|
|
title: "Update locales"
|
|
commit-message: "Update locales"
|
|
branch-suffix: timestamp
|