The GitHub actions for this repository follows the ClinVar XML file release on the ClinVar FTP. A scheduled action is run every hour that:
- Checks for the latest file on the ClinVar FTP
- Checks whether a corresponding release or branch exists in this repository
- If it does then nothing else is done
- Otherwise, it will:
- update the repository's
clinvar-releasae.txt
file in a new branch, - creates a pull request with this branch, and
- set the PR to auto-merge
- update the repository's
- The "Publish" action is run on the
main
branch and after the merge will create the corresponding release and deposit the files.
The following is for developers of clinvar-data-jsonl
itself.
# export GITHUB_OWNER=bihealth
# export GITHUB_TOKEN=ghp_TOKEN
# cd utils/terraform
# terraform init
# terraform import github_repository.clinvar-data-jsonl clinvar-data-jsonl
# terraform validate
# terraform fmt
# terraform plan
# terraform apply