-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improvement: otterdog extended configuration with branch protection #33
Comments
@sameer6989 can you update the issue with what exactly we need to do? Or can be close it? |
Below is a draft that could be improved and implemented for Otterdog config and contains considerations while making further additions to the Otterdog config. To add branch protection rules to the Eclipse Score repositories in Otterdog, we need to decide between the following approaches:
Recommended Strategy: Use Rulesets for StandardizationTo maintain consistency across repositories, we should:
Implementation in Otterdog1. Define a Default Ruleset(sample code below)
2. Apply Rulesets to RepositoriesModify each repository to include the new ruleset: (sample code below)
3. Repository-Specific Branch Protection (Optional)If a repository needs different rules, we apply them directly: (sample code below)
Final Considerations✔ Standardization: Using rulesets ensures uniform policies across repositories. Since the Otterdog config has already been made, we can close this ticket and can come back to this document if a reference is required. |
Important
Make sure to link this issue with the PR for your improvement.
otterdog configuration needs to be extended with branch protection rules. It needs to be consider what kind of approach will be taken: rulesets, branch protection or combination of both.
(This is a duplicate of otterdog issue since it was not assignable to me(@sameer6989))
The text was updated successfully, but these errors were encountered: