neurobagel / workflows

MIT License
0 stars 1 forks source link

Sync repo root level config files #44

Open surchs opened 10 months ago

surchs commented 10 months ago

Once #43 is closed, we will be pushing the auto release workflow to all/most repos. But in order to work in other repos, we also have to manually add a .autorc config file to each repo's root directory. There are other files like this that we want to push to many repos / keep the same across repos.

We could:

The https://github.com/neurobagel/workflows/blob/main/.github/sync.yml config file here let's us define for each template_directory where in the target repo the files should be copied. ~We may have to create a completely new sync-workflow with a completely new config file if we also want to change the list of repositories that files get pushed to (e.g. only the python repos...). Should investigate this~

edit: it's actually very easy to make multiple groups (e.g. "all repos", "python repos", "js repos", "...") with the action we are using: https://github.com/BetaHuhn/repo-file-sync-action?tab=readme-ov-file#sync-the-same-files-to-multiple-repositories :tada:

related:

github-actions[bot] commented 7 months ago

We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days. We have applied the _flag:stale label to indicate that this issue should be reviewed again. When you review, please reread the spec and then apply one of these three options:

github-actions[bot] commented 3 months ago

We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days. We have applied the _flag:stale label to indicate that this issue should be reviewed again. When you review, please reread the spec and then apply one of these three options: