1

I've been looking to setup a commit triage.

To describe with an example: enter image description here

Would it be possible to make commits from the core repo trickle down to the production repo and commits to the production repo to trickle down to the Webproject repo's ? Has anyone have experience running setups like this ?

7
  • What do you mean exactly by "make commits trickle down"? Should the downstream repos have the same state as Core eventually? Commented Nov 17, 2022 at 20:03
  • Yes the downstream repos should recieve the same commits as pushed to the Core repo Commented Nov 17, 2022 at 20:38
  • Why do they have to be separate repos to begin with then? Commented Nov 17, 2022 at 20:48
  • 1
    I meant to ask, are the downstream repos identical, or do they contain commits on top of what you have from core? Commented Nov 17, 2022 at 21:26
  • 1
    You could make them forks of the core repo and then use the GitHub sync functionality? Commented Nov 17, 2022 at 22:26

1 Answer 1

1

One possible avenue would be to use a GitHub Action on your first repository, like Git Repository Sync.

That would allow you to pushes all commits in the branch that this action is run on into any remote git repository.
Your commits would then be "propagated" to other repositories.

Sign up to request clarification or add additional context in comments.

2 Comments

That looks like what i was thinking of but what would be the difference between benjamin's answer of using syncing a fork ? or would this act the same as setting up an action
@KevinG The idea is to avoid a fork if you don't need one, to better isolate the public repo from its private upstream repository.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.