Skip to content

Update local-specific data #1166

Update local-specific data

Update local-specific data #1166

name: Update local-specific data
on:
schedule:
# At 00:00 (UTC) every day
- cron: '0 0 * * *'
# Allow to call the workflow manually
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2.2.1
with:
python-version: 3.9
- name: Install requirements
run: python -m pip install -r requirements-tests.txt
- name: Update data
run: |
python -m scripts
./check.sh
- name: Push changes
uses: Automattic/action-commit-to-branch@master
with:
branch: master
commit_message: "Update locale-specific data"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}