Skip to content

What happens if there are two suborgs mapped to the same repository? #418

Answered by martinm82
justinmchase asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @justinmchase, it will apply only one of the suborg configurations. I haven't checked yet for the order but I assume it loads the setting files alphabetically and the last one would take precedence.

To prevent from these situations I have implemented in our org a validator, which validates the yaml files based on a schema + ensures that suborgs do not have overlapping repos.

If there is interest I might consider open sourcing the validator. At least the tool ensures that users get immediately informed in a PR through annotations if they made a mistake/typo in the settings.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@justinmchase
Comment options

@martinm82
Comment options

@justinmchase
Comment options

Answer selected by justinmchase
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@martinm82
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants