From 5d55801fd23568fe175d3e7e93befb07fd73f3fa Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Thu, 22 Jun 2023 10:38:30 -0500 Subject: [PATCH] Add CI --- .github/workflows/CI.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..1807e99 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,21 @@ +on: + push: + branches: [main] +name: update-cldr-langs +jobs: + update-cldr-langs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + - run: pip install polib + - run: python gen_cldr_langs.py + - uses: EndBug/add-and-commit@v9 + with: + committer_name: GitHub Actions + committer_email: actions@github.com + message: "Update languages names translations" + add: ["cldr-langs/*.po", "cldr-langs/LINGUAS"] +