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: update branch protection, homepage and envs #82

Closed evegufy closed 5 months ago

evegufy commented 5 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 5 months ago

This is your friendly self-service bot.

Thank you for raising a pull request to update the configuration of your GitHub organization. You can manually add reviewers to this PR to eventually enable auto-merging.

The following conditions need to fulfilled for auto-merging to be available:

Otterdog commands and options You can trigger otterdog actions by commenting on this PR: - `/otterdog team-info` checks the team / org membership for the PR author - `/otterdog validate` validates the configuration change - `/otterdog validate info` validates the configuration change, printing also validation infos - `/otterdog check-sync` checks if the base ref is in sync with live settings - `/otterdog merge` merges and applies the changes if the PR is eligible for auto-merging (only accessible for the author) - `/otterdog done` notifies the self-service bot that a required manual apply operation has been performed (only accessible for members of the admin team) - `/otterdog apply` re-apply a previously failed attempt (only accessible for members of the admin team)
eclipse-otterdog[bot] commented 5 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 5 months ago

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

Diff for e4da249f2a793f93fa0efa75a32996f072447125 ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 62 validation infos, enable verbose output with '-v' to to display them. - remove 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 - } - remove branch_protection_rule[pattern="dev", repository="portal"] { - allows_deletions = false - allows_force_pushes = false - blocks_creations = false - bypass_force_push_allowances = [] - is_admin_enforced = false - lock_allows_fetch_and_merge = false - lock_branch = false - pattern = "dev" - requires_commit_signatures = false - requires_conversation_resolution = false - requires_deployments = false - requires_linear_history = false - requires_pull_request = false - requires_status_checks = false - restricts_pushes = false - } - remove branch_protection_rule[pattern="main", repository="portal"] { - 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 - } - remove environment[name="dev", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "dev" - reviewers = [] - wait_timer = "0" - } - remove environment[name="int", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "int" - reviewers = [] - wait_timer = "0" - } - remove branch_protection_rule[pattern="dev", repository="portal-backend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend-registration"] { - 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 - } ! repository[name="portal-shared-components"] { ! homepage = null -> "https://eclipse-tractusx.github.io/portal-shared-components" ! } - remove 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 - } - remove 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 - } Plan: 0 to add, 1 to change, 10 to delete. ```
eclipse-otterdog[bot] commented 5 months ago

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

netomi commented 5 months ago

you could change the branch protection rule for the main branch such that pull requests and status checks are not required only that force pushes are prevented. That would also support merging the branch with a workflow afaict.

eclipse-otterdog[bot] commented 5 months ago

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

Diff for 6cd593839145b45321eaabd731f0aebf4495c511 ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 64 validation infos, enable verbose output with '-v' to to display them. - remove 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 - } - remove branch_protection_rule[pattern="dev", repository="portal"] { - allows_deletions = false - allows_force_pushes = false - blocks_creations = false - bypass_force_push_allowances = [] - is_admin_enforced = false - lock_allows_fetch_and_merge = false - lock_branch = false - pattern = "dev" - requires_commit_signatures = false - requires_conversation_resolution = false - requires_deployments = false - requires_linear_history = false - requires_pull_request = false - requires_status_checks = false - restricts_pushes = false - } ! branch_protection_rule[pattern="main", repository="portal"] { ! requires_pull_request = true -> false ! } - remove environment[name="dev", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "dev" - reviewers = [] - wait_timer = "0" - } - remove environment[name="int", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "int" - reviewers = [] - wait_timer = "0" - } - remove branch_protection_rule[pattern="dev", repository="portal-backend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend-registration"] { - 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 - } ! repository[name="portal-shared-components"] { ! homepage = null -> "https://eclipse-tractusx.github.io/portal-shared-components" ! } ! branch_protection_rule[pattern="main", repository="puris"] { ! required_status_checks = "['eclipse-eca-validation:eclipsefdn/eca', 'docker-frontend', 'docker-backend', 'Analyze KICS', 'check-dependencies-frontend', 'check-dependencies-backend', 'Check quality guidelines / Check quality guidelines']" -> "['eclipse-eca-validation:eclipsefdn/eca', 'docker-frontend', 'docker-backend', 'Analyze CodeQl', 'Analyze KICS', 'check-dependencies-frontend', 'check-dependencies-backend', 'Check quality guidelines / Check quality guidelines']" ! } - remove 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 - } - remove 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 - } Plan: 0 to add, 3 to change, 9 to delete. ```
eclipse-otterdog[bot] commented 5 months ago

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

eclipse-otterdog[bot] commented 5 months ago

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

Diff for 835ebe94b84725712e15f3d9a19b80992db2195b ```diff Organization automotive.tractusx[id=eclipse-tractusx] there have been 64 validation infos, enable verbose output with '-v' to to display them. - remove 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 - } - remove branch_protection_rule[pattern="dev", repository="portal"] { - allows_deletions = false - allows_force_pushes = false - blocks_creations = false - bypass_force_push_allowances = [] - is_admin_enforced = false - lock_allows_fetch_and_merge = false - lock_branch = false - pattern = "dev" - requires_commit_signatures = false - requires_conversation_resolution = false - requires_deployments = false - requires_linear_history = false - requires_pull_request = false - requires_status_checks = false - restricts_pushes = false - } ! branch_protection_rule[pattern="main", repository="portal"] { ! requires_pull_request = true -> false ! } - remove environment[name="dev", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "dev" - reviewers = [] - wait_timer = "0" - } - remove environment[name="int", repository="portal-backend"] { - deployment_branch_policy = "all" - name = "int" - reviewers = [] - wait_timer = "0" - } - remove branch_protection_rule[pattern="dev", repository="portal-backend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend"] { - 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 - } - remove branch_protection_rule[pattern="dev", repository="portal-frontend-registration"] { - 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 - } ! repository[name="portal-shared-components"] { ! homepage = null -> "https://eclipse-tractusx.github.io/portal-shared-components" ! } - remove 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 - } - remove 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 - } Plan: 0 to add, 2 to change, 9 to delete. ```
evegufy commented 5 months ago

you could change the branch protection rule for the main branch such that pull requests and status checks are not required only that force pushes are prevented. That would also support merging the branch with a workflow afaict.

@netomi thanks for the hint, I changed accordingly

eclipse-otterdog[bot] commented 5 months ago

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

eclipse-otterdog[bot] commented 5 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 64 validation infos, enable verbose output with '-v' to to display them.

-  remove branch_protection_rule[pattern="dev", repository="portal-frontend"] {
-    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
-  }

-  remove branch_protection_rule[pattern="dev", repository="portal-frontend-registration"] {
-    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
-  }

-  remove environment[name="dev", repository="portal-backend"] {
-    deployment_branch_policy          = "all"
-    name                              = "dev"
-    reviewers                         = []
-    wait_timer                        = "0"
-  }

-  remove environment[name="int", repository="portal-backend"] {
-    deployment_branch_policy          = "all"
-    name                              = "int"
-    reviewers                         = []
-    wait_timer                        = "0"
-  }

-  remove branch_protection_rule[pattern="dev", repository="portal-backend"] {
-    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
-  }

-  remove branch_protection_rule[pattern="dev", repository="portal"] {
-    allows_deletions                  = false
-    allows_force_pushes               = false
-    blocks_creations                  = false
-    bypass_force_push_allowances      = []
-    is_admin_enforced                 = false
-    lock_allows_fetch_and_merge       = false
-    lock_branch                       = false
-    pattern                           = "dev"
-    requires_commit_signatures        = false
-    requires_conversation_resolution  = false
-    requires_deployments              = false
-    requires_linear_history           = false
-    requires_pull_request             = false
-    requires_status_checks            = false
-    restricts_pushes                  = false
-  }

!   branch_protection_rule[pattern="main", repository="portal"] {
!     requires_pull_request             = true -> false
!   }

!   repository[name="portal-shared-components"] {
!     homepage                          = null -> "https://eclipse-tractusx.github.io/portal-shared-components"
!   }

-  remove 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
-  }

-  remove 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
-  }

-  remove 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
-  }

  Applying changes:

  Done.

  Executed plan: 0 added, 2 changed, 9 deleted.