Skip to content
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

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

Merged

Conversation

FaGru3n
Copy link
Contributor

@FaGru3n FaGru3n commented Oct 23, 2023

Description

  • add branch protection main branch on sig-release repo

guided information from EF and Otterdog Team #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:

@FaGru3n FaGru3n requested review from a team as code owners October 23, 2023 14:39
@github-actions
Copy link

Diff for 2ebf306:
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.
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 netomi merged commit 1660d6f into eclipse-tractusx:main Oct 23, 2023
3 checks passed
@netomi
Copy link
Contributor

netomi commented Oct 23, 2023

change has been applied.

@FaGru3n FaGru3n deleted the chore/add-branch-protection-main branch February 29, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants