eclipse-tractusx / .eclipsefdn

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

chore: align with common settings and add branch protection #68

Closed evegufy closed 8 months ago

evegufy commented 8 months ago

Description

Pre-review checks

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

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot. The author (evegufy) of this PR is associated with this organization in the role of MEMBER.

Additionally, evegufy is a member of the following teams:

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot. Please find below the validation of the requested configuration changes:

Diff for 2402c0f649abbc3afb794ac898128fa8991cddc0 ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 48 validation infos, enable verbose output with '-v' to to display them. ! repository[name="policy-hub"] { ! delete_branch_on_merge = false -> true ! description = "Policy hub" -> "Policy Hub" ! secret_scanning_push_protection = "disabled" -> "enabled" ! } + add branch_protection_rule[pattern="dev", repository="policy-hub"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="policy-hub"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } ! repository[name="ssi-authority-schema-registry"] { ! allow_merge_commit = false -> true ! allow_update_branch = true -> false ! description = null -> "SSI Authority & Schema Registry" ! web_commit_signoff_required = true -> false ! } ! repo_workflow_settings[repository="ssi-authority-schema-registry"] { ! default_workflow_permissions = "read" -> "write" ! } + add branch_protection_rule[pattern="dev", repository="ssi-authority-schema-registry"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="ssi-authority-schema-registry"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } ! repository[name="ssi-credential-issuer"] { ! allow_merge_commit = false -> true ! allow_update_branch = true -> false ! description = null -> "SSI Credential Issuer" ! web_commit_signoff_required = true -> false ! } ! repo_workflow_settings[repository="ssi-credential-issuer"] { ! default_workflow_permissions = "read" -> "write" ! } + add branch_protection_rule[pattern="dev", repository="ssi-credential-issuer"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="ssi-credential-issuer"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } Plan: 6 to add, 13 to change, 0 to delete. ```

Add a comment /help to get a list of available commands.

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot. The current configuration is in-sync with the live settings. :rocket:

netomi commented 8 months ago

LGTM

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot. Please find below the validation of the requested configuration changes:

Diff for 54ccaf4e58eaddd75a7a387dae83ec14e08800d8 ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 48 validation infos, enable verbose output with '-v' to to display them. ! repository[name="policy-hub"] { ! delete_branch_on_merge = false -> true ! description = "Policy hub" -> "Policy Hub" ! secret_scanning_push_protection = "disabled" -> "enabled" ! } ! repo_workflow_settings[repository="policy-hub"] { ! default_workflow_permissions = "write" -> "read" ! } + add branch_protection_rule[pattern="dev", repository="policy-hub"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="policy-hub"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } ! repository[name="ssi-authority-schema-registry"] { ! allow_merge_commit = false -> true ! allow_update_branch = true -> false ! description = null -> "SSI Authority & Schema Registry" ! web_commit_signoff_required = true -> false ! } + add branch_protection_rule[pattern="dev", repository="ssi-authority-schema-registry"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="ssi-authority-schema-registry"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } ! repository[name="ssi-credential-issuer"] { ! allow_merge_commit = false -> true ! allow_update_branch = true -> false ! description = null -> "SSI Credential Issuer" ! web_commit_signoff_required = true -> false ! } + add branch_protection_rule[pattern="dev", repository="ssi-credential-issuer"] { + 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 = "dev" + require_last_push_approval = false + required_approving_review_count = "1" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } + add branch_protection_rule[pattern="main", repository="ssi-credential-issuer"] { + 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" + 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 = false + restricts_pushes = false + restricts_review_dismissals = false + } Plan: 6 to add, 12 to change, 0 to delete. ```

Add a comment /help to get a list of available commands.

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot. The current configuration is in-sync with the live settings. :rocket:

eclipse-otterdog[bot] commented 8 months ago

This is your friendly self-service bot.

The following changes have been successfully applied:


Organization automotive.tractusx[id=eclipse-tractusx]
  there have been 48 validation infos, enable verbose output with '-v' to to display them.

!   repository[name="policy-hub"] {
!     delete_branch_on_merge            = false -> true
!     description                       = "Policy hub" -> "Policy Hub"
!     secret_scanning_push_protection   = "disabled" -> "enabled"
!   }

!   repo_workflow_settings[repository="policy-hub"] {
!     default_workflow_permissions      = "write" -> "read"
!   }

+  add branch_protection_rule[pattern="dev", repository="policy-hub"] {
+    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                           = "dev"
+    require_last_push_approval        = false
+    required_approving_review_count   = "1"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

+  add branch_protection_rule[pattern="main", repository="policy-hub"] {
+    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"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

!   repository[name="ssi-authority-schema-registry"] {
!     allow_merge_commit                = false -> true
!     allow_update_branch               = true -> false
!     description                       = null -> "SSI Authority & Schema Registry"
!     web_commit_signoff_required       = true -> false
!   }

+  add branch_protection_rule[pattern="dev", repository="ssi-authority-schema-registry"] {
+    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                           = "dev"
+    require_last_push_approval        = false
+    required_approving_review_count   = "1"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

+  add branch_protection_rule[pattern="main", repository="ssi-authority-schema-registry"] {
+    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"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

!   repository[name="ssi-credential-issuer"] {
!     allow_merge_commit                = false -> true
!     allow_update_branch               = true -> false
!     description                       = null -> "SSI Credential Issuer"
!     web_commit_signoff_required       = true -> false
!   }

+  add branch_protection_rule[pattern="dev", repository="ssi-credential-issuer"] {
+    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                           = "dev"
+    require_last_push_approval        = false
+    required_approving_review_count   = "1"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

+  add branch_protection_rule[pattern="main", repository="ssi-credential-issuer"] {
+    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"
+    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            = false
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

  Applying changes:

  Done.

  Executed plan: 6 added, 12 changed, 0 deleted.