dict #1685
This file contains hidden or 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_generate.py' | |
| - 'automation/dict_manifest_config.yaml' | |
| - 'store/encodings/*' | |
| - 'store/fonts/*' | |
| - 'metadata/dict*.json' | |
| - '.github/workflows/update-dict-manifest.yml' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'automation/dict_manifest_generate.py' | |
| - 'automation/dict_manifest_config.yaml' | |
| - 'store/encodings/*' | |
| - 'store/fonts/*' | |
| - 'metadata/dict*.json' | |
| - '.github/workflows/update-dict-manifest.yml' | |
| jobs: | |
| dict: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Install uv | |
| uses: astral-sh/[email protected] | |
| with: | |
| version: "latest" | |
| - name: Run update script | |
| run: | | |
| cd automation | |
| uv run dict_manifest_generate.py | |
| - name: Commit changes | |
| if: ${{ !contains(fromJSON('["pull_request"]'), github.event_name) }} | |
| uses: EndBug/[email protected] | |
| with: | |
| author_name: github-actions[bot] | |
| author_email: 41898282+github-actions[bot]@users.noreply.github.com | |
| message: "Update dictionary manifest" |