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

Enable branch protection for tycho-4.0.x branch #2

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Feb 9, 2024

same as for the main branch ...

FYI @akurtakov

@laeubi laeubi requested review from a team as code owners February 9, 2024 15:29

This comment has been minimized.

@laeubi
Copy link
Member Author

laeubi commented Feb 9, 2024

👍 from my side as PL

Signed-off-by: Christoph Läubrich <[email protected]>
Copy link

github-actions bot commented Feb 9, 2024

Diff for 74b9024:
Printing local diff:

Actions are indicated with the following symbols:
+   create
!   modify
!   forced update
-   delete

Organization technology.tycho[id=eclipse-tycho]
  there have been 3 validation infos, enable verbose output with '-v' to to display them.

-   remove repo_ruleset[name="main", repository="tycho"] {
-     allows_creations                  = false
-     allows_deletions                  = false
-     allows_force_pushes               = false
-     allows_updates                    = true
-     bypass_actors                     = [
-       "#Write"
-     ],
-     dismisses_stale_reviews           = true
-     enforcement                       = "active"
-     exclude_refs                      = []
-     include_refs                      = [
-       "refs/heads/main"
-     ],
-     name                              = "main"
-     required_approving_review_count   = "0"
-     required_status_checks            = [
-       "eclipse-eca-validation:eclipsefdn/eca"
-       "continuous-integration/jenkins/pr-head"
-       "call-license-check / check-licenses"
-     ],
-     requires_code_owner_review        = false
-     requires_commit_signatures        = false
-     requires_deployments              = false
-     requires_last_push_approval       = false
-     requires_linear_history           = false
-     requires_pull_request             = true
-     requires_review_thread_resolution = false
-     requires_status_checks            = true
-     requires_strict_status_checks     = false
-   }

+   add repo_ruleset[name="release-branches", repository="tycho"] {
+     allows_creations                  = false
+     allows_deletions                  = false
+     allows_force_pushes               = false
+     allows_updates                    = true
+     bypass_actors                     = [
+       "#Write"
+     ],
+     dismisses_stale_reviews           = true
+     enforcement                       = "active"
+     exclude_refs                      = []
+     include_refs                      = [
+       "refs/heads/main"
+       "refs/heads/tycho-4.0.x"
+       "refs/heads/tycho-3.0.x"
+       "refs/heads/tycho-2.7.x"
+     ],
+     name                              = "release-branches"
+     required_approving_review_count   = "0"
+     required_status_checks            = [
+       "eclipse-eca-validation:eclipsefdn/eca"
+       "continuous-integration/jenkins/pr-head"
+       "call-license-check / check-licenses"
+     ],
+     requires_code_owner_review        = false
+     requires_commit_signatures        = false
+     requires_deployments              = false
+     requires_last_push_approval       = false
+     requires_linear_history           = false
+     requires_pull_request             = true
+     requires_review_thread_resolution = false
+     requires_status_checks            = true
+     requires_strict_status_checks     = false
+   }
  
  Plan: 1 to add, 0 to change, 1 to delete.
Canonical Diff for 74b9024:
Showing canonical diff:

Organization technology.tycho[id=eclipse-tycho]

--- canonical
+++ original
@@ -18,8 +18,6 @@
       gh_pages_build_type: "legacy"
       gh_pages_source_branch: "main"
       gh_pages_source_path: "/"
-      secret_scanning: "enabled"
-      secret_scanning_push_protection: "enabled"
       web_commit_signoff_required: false
       workflows+: {
         default_workflow_permissions: "write"
@@ -27,7 +25,6 @@
     }
     orgs.newRepo('tycho') {
       allow_auto_merge: true
-      allow_merge_commit: false
       delete_branch_on_merge: false
       dependabot_security_updates_enabled: true
       description: "Tycho project repository (tycho)"
@@ -55,8 +52,6 @@
           requires_review_thread_resolution: false
         }
       ]
-      secret_scanning: "enabled"
-      secret_scanning_push_protection: "enabled"
       secrets: [
         orgs.newRepoSecret('GIST_TOKEN') {
           value: "********"

@netomi netomi merged commit 6e2c69a into eclipse-tycho:main Feb 9, 2024
2 checks passed
@netomi
Copy link
Contributor

netomi commented Feb 9, 2024

changes are live.

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.

3 participants