OpenNeuroDatasets-JSONLD / .github

Interesting things to be said about augmented OpenNeuro datasets
0 stars 1 forks source link

Add workflow to detect repo changes and run CLI #28

Closed alyssadai closed 4 months ago

alyssadai commented 4 months ago

Closes #16

Changes proposed in this pull request:

3 new workflows added:

  1. run_cli_on_repo_list.yml: A reusable workflow that accepts a list of dataset/repo IDs and their latest SHAs, and then runs the CLI on those datasets and uploads the resulting log file & JSONLD to neurobagel/openneuro-annotations
  2. run_cli_on_changed_repos: Runs on a schedule, and fetches SHAs of all OpenNeuroDatasets-JSONLD repos and compares them to an existing SHA list sha.txt, and then passes any repos with differences to wf 1 (including repos that aren't already in sha.txt)
  3. run_cli_on_all_repos: Only runs when manually triggered, and fetches and passes all repos in OpenNeuroDatasets-JSONLD to wf 1