Skip to content
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

Sync repo root level config files #44

Open
1 of 3 tasks
surchs opened this issue Dec 15, 2023 · 2 comments
Open
1 of 3 tasks

Sync repo root level config files #44

surchs opened this issue Dec 15, 2023 · 2 comments

Comments

@surchs
Copy link
Contributor

surchs commented Dec 15, 2023

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:

  • Add a new template_config directory that contains config files all repos should have. AND/OR
  • Add a python-specific config directory, for root level files that only python repos need (e.g. .precommit ?)
  • same for the JS/Vue repos?

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 🎉

related:

@rmanaem rmanaem moved this to Backlog in Neurobagel Jan 3, 2024
@alyssadai alyssadai moved this from Backlog to Specify - Active in Neurobagel Jan 12, 2024
@surchs surchs removed the status in Neurobagel Jan 15, 2024
Copy link

github-actions bot commented Apr 8, 2024

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:

  • prioritize: apply the flag:schedule label to suggest moving this issue into the backlog now
  • close: if the issue is no longer relevant, explain why (give others a chance to reply) and then close.
  • archive: sometimes an issue has important information or ideas but we won't work on it soon. In this case
    apply the someday label to show that this won't be prioritized. The stalebot will ignore issues with this
    label in the future. Use sparingly!

@github-actions github-actions bot added the _flag:stale [BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged again label Apr 8, 2024
@github-actions github-actions bot removed the _flag:stale [BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged again label May 16, 2024
Copy link

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:

  • prioritize: apply the flag:schedule label to suggest moving this issue into the backlog now
  • close: if the issue is no longer relevant, explain why (give others a chance to reply) and then close.
  • archive: sometimes an issue has important information or ideas but we won't work on it soon. In this case
    apply the someday label to show that this won't be prioritized. The stalebot will ignore issues with this
    label in the future. Use sparingly!

@github-actions github-actions bot added the _flag:stale [BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged again label Jul 30, 2024
@github-actions github-actions bot removed the _flag:stale [BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged again label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant