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 dictionary manifest | |
on: | |
repository_dispatch: | |
types: [dict] | |
push: | |
branches: [ main ] | |
paths: | |
- 'automation/dict_manifest_update.py' | |
- 'automation/requirements.txt' | |
- 'store/encodings/*' | |
- 'store/fonts/*' | |
- 'metadata/dict.json' | |
- '.github/workflows/update-dict-manifest.yml' | |
jobs: | |
dict: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install dep | |
run: pip install -r automation/requirements.txt | |
- name: Run update script | |
run: python3 automation/dict_manifest_update.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
author_name: github-actions[bot] | |
author_email: 41898282+github-actions[bot]@users.noreply.github.com | |
message: "Update dictionary manifest" |