Update data #346
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
name: Update data | |
on: | |
schedule: | |
- cron: "0 8 * * 1-5" # At 8:00 on every Monday | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Install node packages | |
run: npm install | |
- name: Run update scripts | |
run: | | |
python scripts/generate_list.py | |
python scripts/convert_to_html.py | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
branch-suffix: "timestamp" | |
author: l10n-bot <[email protected]> | |
commit-message: "Update language names" | |
title: "Update language names" |