Fix English name of Atayal (tay) #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © Michal Čihař <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Update generated files | |
on: | |
push: | |
branches: | |
- renovate/** | |
- main | |
paths: | |
- languages.csv | |
- aliases.csv | |
jobs: | |
submodule-update: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 # v4 | |
with: | |
submodules: true | |
- run: sudo apt-get --option="APT::Acquire::Retries=3" update | |
- run: sudo apt-get --option="APT::Acquire::Retries=3" install -y gettext | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: pip | |
cache-dependency-path: requirements*.txt | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip wheel setuptools | |
pip install -r requirements-dev.txt | |
- run: make | |
- name: Update renovate branch | |
if: github.ref != 'refs/heads/main' | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'chore: Updates generated files' | |
- name: Create Pull Request | |
if: github.ref == 'refs/heads/main' | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: create-pull-request/submodule-update | |
title: 'chore: Updates generated files' | |
commit-message: 'chore: Updates generated files' | |
labels: | | |
dependencies | |
automerge |