cloudstream/.github/workflows/update_locales.yml
2022-12-25 19:52:30 +01:00

29 lines
635 B
YAML

name: Update locale lists
on:
push:
paths:
- '**.xml'
branches:
- master
concurrency:
group: "locale-list"
cancel-in-progress: true
jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Edit files
run: |
python3 .github/locales.py
- name: Commit to the repo
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git add .
# "echo" returns true so the build succeeds, even if no changed files
git commit -m 'chore: update list of locales' || echo
git push