Merge pull request #45 from mpxv-lineages/designations-2024-11 #72
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: Autogenerate jsons and validate aliases | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: pip install pyyaml | |
- name: Generate alias_key.json from lineage yamls and validate that unaliased name matches unaliased_name | |
run: python scripts/generate-alias-key-json.py | |
- name: Generate lineages.json | |
run: python scripts/generate-single-file-json.py | |
- name: Generate lineages.md | |
run: python scripts/generate_markdown_summary.py | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
file_pattern: auto-generated/* | |
commit_message: Update auto-generated files |