Closed FaGru3n closed 7 months ago
@eclipse-tractusx/eclipsefdn-security will this modified for the hole org?
just want to enable this for eclipse-tractusx.github.io
Organization eclipse-tractusx[id=eclipse-tractusx] --- original +++ canonical @@ -163,6 +163,7 @@ branch_protection_rules: [ orgs.newBranchProtectionRule('main') { dismisses_stale_reviews: true
- required_approving_review_count: 2 }
@eclipse-tractusx/eclipsefdn-security will this modified for the hole org?
no, the setting will only be used for the repo you defined it for, see also the summary:
btw. a required_approving_review_count of 2 is the default, so you dont have to specify it, unless you want to set it to a different value.
btw. other projects defined some custom branch protection rules that can then be easily applied for a repo like that:
https://github.com/eclipse-set/.eclipsefdn/blob/main/otterdog/eclipse-set.jsonnet#L3
Maybe of interest for tractus-x as well.
I think 2 reviews should be fine. Our Code Reviews sections proposes a two step approach anyways. A "business" review and another one from a committer, that is anyway needed.
that was my intention 1 vote from "business" and 1 from a committer
after reading the discussion with @carslen and @mhellmeier @SebastianBezold
we have:
and with the hint from @netomi i would clear this section that we can use the default setting for branch protection.
Think will wait for a project lead vote, because of the idea with "business" votes.. 😃
@ participants, thanks for your feedback.
@FaGru3n lets do it. it will also be very good for proper coop
@FaGru3n sounds good. Thumbs up
FYI:
- required_approving_review_count = "2"
we have:
let me know when you have agreed on a number of approvals. Most projects use 1, which I find reasonable to assure that reviews are made, but progress is not blocked by having to chase reviewers to approve.
@FaGru3n we might set it to 1 for other repos, but for this repo i think 2 reviewers are fine 👍
Looks like this has been stabilized, lets get this merged, you can easily change if needed ofc.
change is live.
Description
fixes https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/issues/515
FYI: @stephanbcbauer @mhellmeier @Siegfriedk @danielmiehle
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: