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
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)
run_cli_on_all_repos: Only runs when manually triggered, and fetches and passes all repos in OpenNeuroDatasets-JSONLD to wf 1
The first time that workflow 2 runs, it should run the CLI on all the repos.
For reviewer: I believe the checks are currently failing b/c the reusable workflow isn't found on the main branch
Closes #16
Changes proposed in this pull request:
3 new workflows added:
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 toneurobagel/openneuro-annotations
run_cli_on_changed_repos
: Runs on a schedule, and fetches SHAs of all OpenNeuroDatasets-JSONLD repos and compares them to an existing SHA listsha.txt
, and then passes any repos with differences to wf 1 (including repos that aren't already in sha.txt)run_cli_on_all_repos
: Only runs when manually triggered, and fetches and passes all repos in OpenNeuroDatasets-JSONLD to wf 1