-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workflow to detect and auto-launch CLI when a repo has changes #16
Comments
@wizofe tagging you here since you have kindly taken a stab at implementing this! 🙌 |
alyssadai
changed the title
[FEAT] Add workflow to detect (+ eventually auto-launch some script) when a dataset has changes
Add workflow to detect (+ eventually auto-launch some script) when a dataset has changes
Aug 9, 2023
8 tasks
alyssadai
changed the title
Add workflow to detect (+ eventually auto-launch some script) when a dataset has changes
Add workflow to detect and auto-launch CLI when a repo has changes
May 6, 2024
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need a process that will listen for changes in any of our forks of the OpenNeuroDatasets in this org and provide the name of the repo (e,g., ds004400, same as the dataset ID) that has changed.
This repo name will serve as the input to another process that will get the data and run the CLI (this is currently a script that lives in another repo).
Steps to implement
sha.txt
auto-upload-jsonld
in https://github.com/neurobagel/openneuro-annotationsjsonld/
w/ .gitkeepTo ensure we can write to
openneuro-annotations
from a different org:create PAT w/ RW permissions to that external repo and add here
Update workflow to:
data/
directory on the branch (this ensures that no outdated JSONLD files stick around)data/
directory on theauto-upload-jsonld
branch (ideally this is part of the same commit as thedata/
directory clearing, so we can get a diff of all the files that have changed/not)refactor code to run CLI into reusable workflow, which accepts a list of dataset IDs as input
create a workflow that only runs on
workflow_dispatch
which supplies the full list of repos by defaultSee if we can do remaining steps using normal
git
commands: https://stackoverflow.com/questions/62960533/how-to-use-git-commands-during-a-github-actionNice to haves
Questions for future
The text was updated successfully, but these errors were encountered: