cloudstream/.github/workflows/update_locales.yml

30 lines
628 B
YAML
Raw Normal View History

2022-12-25 18:49:59 +00:00
name: Update locale lists
on:
push:
paths:
- '**.xml'
2022-12-25 18:52:30 +00:00
branches:
- master
2022-12-25 18:49:59 +00:00
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
2023-01-02 11:44:23 +00:00
git commit -m 'update list of locales' || echo
2022-12-25 18:52:30 +00:00
git push