eclipse-tractusx / .eclipsefdn

Repository to host configurations related to the Eclipse Foundation.
https://eclipse-tractusx.github.io/.eclipsefdn/
1 stars 17 forks source link

chore: enable branch protection sig-release main branch #39

Closed FaGru3n closed 11 months ago

FaGru3n commented 11 months ago

Description

guided information from EF and Otterdog Team https://github.com/eclipse-tractusx/.eclipsefdn/issues/28 current config see: https://eclipse-tractusx.github.io/.eclipsefdn/repo-sig-release/

FYI @stephanbcbauer @RolaH1t @kelaja @mabige

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

github-actions[bot] commented 11 months ago
Diff for 2ebf306caf11c85ee7987a3582998be2110bf8fe: ```diff Printing local diff for configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json' Actions are indicated with the following symbols: + create ! modify ! forced update - delete Organization eclipse-tractusx[id=eclipse-tractusx] there have been 40 validation infos, enable verbose output with '-v' to to display them. + add branch_protection_rule[pattern="main", repository="sig-release"] { + allows_deletions = false + allows_force_pushes = false + blocks_creations = false + bypass_force_push_allowances = [] + bypass_pull_request_allowances = [] + dismisses_stale_reviews = true + is_admin_enforced = false + lock_allows_fetch_and_merge = false + lock_branch = false + pattern = "main" + require_last_push_approval = false + required_approving_review_count = "1" + required_status_checks = [ + "eclipse-eca-validation:eclipsefdn/eca" + ], + requires_code_owner_reviews = false + requires_commit_signatures = false + requires_conversation_resolution = false + requires_deployments = false + requires_linear_history = false + requires_pull_request = true + requires_status_checks = true + requires_strict_status_checks = false + restricts_pushes = false + restricts_review_dismissals = false + } Plan: 1 to add, 0 to change, 0 to delete. ``` ```diff Showing diff to a canonical version of the configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json' Organization eclipse-tractusx[id=eclipse-tractusx] --- original +++ canonical @@ -486,10 +486,12 @@ } orgs.newRepo('puris-backend') { archived: true + description: "puris-backend" web_commit_signoff_required: false } orgs.newRepo('puris-frontend') { archived: true + description: "puris-frontend" web_commit_signoff_required: false } orgs.newRepo('sd-factory') { @@ -707,6 +709,8 @@ web_commit_signoff_required: false } orgs.newRepo('traceability-foss-backend') { + allow_merge_commit: true + allow_update_branch: false archived: true branch_protection_rules: [ orgs.newBranchProtectionRule('main') { ```
netomi commented 11 months ago

change has been applied.