Skip to content

Conversation

@AlexanderLanin
Copy link
Member

@AlexanderLanin AlexanderLanin commented Nov 7, 2025

  • add os_images repo
  • add github pages to reference_integration

@AlexanderLanin AlexanderLanin marked this pull request as ready for review November 7, 2025 11:12
@AlexanderLanin AlexanderLanin requested a review from a team as a code owner November 7, 2025 11:12
Copilot AI review requested due to automatic review settings November 7, 2025 11:12
@eclipse-otterdog

This comment has been minimized.

@eclipse-otterdog

This comment has been minimized.

@eclipse-otterdog

This comment has been minimized.

@eclipse-otterdog

This comment has been minimized.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the reference_integration repository configuration to use the newInfrastructureTeamRepo helper function and adds a new os_images repository.

  • Refactored reference_integration to use newInfrastructureTeamRepo for standardized infrastructure team repository settings
  • Added new os_images repository for OS images used in testing and deliveries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@FScholPer FScholPer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we please not add the bypass in every repo now?

@AlexanderLanin AlexanderLanin marked this pull request as draft November 7, 2025 23:26
@AlexanderLanin
Copy link
Member Author

can we please not add the bypass in every repo now?

Added to Agenda for Monday meeting: https://github.com/orgs/eclipse-score/discussions/434#discussioncomment-14907704

@AlexanderLanin
Copy link
Member Author

Postponing bypass discussion, otherwise all PRs here are blocked. If needed we can remote it later. Let's create the repo for now. More importantly this adds github pages to reference_intgration.

@AlexanderLanin AlexanderLanin marked this pull request as ready for review November 11, 2025 16:31
@eclipse-otterdog
Copy link
Contributor

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:

  • valid configuration
  • approved by a project lead
  • does not require any secrets
  • does not update settings only accessible via the GitHub Web UI
  • does not remove any resource
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
Copy link
Contributor

The author (AlexanderLanin) of this PR is associated with this organization in the role of MEMBER.

Additionally, AlexanderLanin is a member of the following teams:

@eclipse-otterdog
Copy link
Contributor

Please find below the validation of the requested configuration changes:

Diff for a79913d
Project automotive.score[github_id=eclipse-score]
  there have been 26 validation infos, enable verbose output to display them.

  
!   repository[name="reference_integration"] {
!     allow_merge_commit                  = true -> false
!     allow_rebase_merge                  = true -> false
!     allow_update_branch                 = false -> true
!     code_scanning_default_setup_enabled = true -> false
!     dependabot_security_updates_enabled = false -> true
!     gh_pages_build_type                 = "disabled" -> "workflow"
!     has_projects                        = true -> false
!     has_wiki                            = true -> false
!     homepage                            = null -> "https://eclipse-score.github.io/reference_integration"
!     topics                              = [
-      "score"
!     ]
!   }

  
!   repo_ruleset[name="main", repository=reference_integration] {
!     bypass_actors = [
+      "@eclipse-score/infrastructure-maintainers"
!     ]
!   }

+  add repository[name="os_images"] {
+    allow_auto_merge                           = false
+    allow_forking                              = true
+    allow_merge_commit                         = false
+    allow_rebase_merge                         = false
+    allow_squash_merge                         = true
+    allow_update_branch                        = true
+    archived                                   = false
+    auto_init                                  = true
+    code_scanning_default_setup_enabled        = false
+    custom_properties                          = {
+      eclipse_project                            = "automotive.score"
+    }
+    default_branch                             = "main"
+    delete_branch_on_merge                     = true
+    dependabot_alerts_enabled                  = true
+    dependabot_security_updates_enabled        = true
+    description                                = "OS Images for testing and deliveries"
+    gh_pages_build_type                        = "disabled"
+    has_discussions                            = false
+    has_issues                                 = true
+    has_projects                               = false
+    has_wiki                                   = false
+    is_template                                = false
+    merge_commit_message                       = "PR_TITLE"
+    merge_commit_title                         = "MERGE_MESSAGE"
+    name                                       = "os_images"
+    private                                    = false
+    private_vulnerability_reporting_enabled    = false
+    secret_scanning                            = "enabled"
+    secret_scanning_push_protection            = "enabled"
+    squash_merge_commit_message                = "COMMIT_MESSAGES"
+    squash_merge_commit_title                  = "COMMIT_OR_PR_TITLE"
+    topics                                     = []
+    workflows                                  = {
+      actions_can_approve_pull_request_reviews   = true
+      enabled                                    = true
+    }
+  }

+  add repo_ruleset[name="main", repository=os_images] {
+    allows_creations                    = false
+    allows_deletions                    = false
+    allows_force_pushes                 = false
+    allows_updates                      = true
+    bypass_actors                       = []
+    enforcement                         = "active"
+    exclude_refs                        = []
+    include_refs                        = [
+      "refs/heads/main"
+    ],
+    name                                = "main"
+    required_pull_request               = {
+      dismisses_stale_reviews             = true
+      required_approving_review_count     = 1
+      requires_code_owner_review          = true
+      requires_last_push_approval         = false
+      requires_review_thread_resolution   = false
+    }
+    required_status_checks              = {
+      do_not_enforce_on_create            = false
+      status_checks                       = [
+        "eclipse-eca-validation:eclipsefdn/eca"
+      ],
+      strict                              = false
+    }
+    requires_commit_signatures          = false
+    requires_deployments                = false
+    requires_linear_history             = false
+    target                              = "branch"
+  }
  
  Plan: 2 to add, 11 to change, 0 to delete.

@mbarbero mbarbero merged commit ba59f97 into eclipse-score:main Nov 12, 2025
3 checks passed
@eclipse-otterdog
Copy link
Contributor

Note

The following changes have been applied successfully:

Project automotive.score[github_id=eclipse-score]
  there have been 26 validation infos, enable verbose output to display them.

  
!   repository[name="reference_integration"] {
!     allow_merge_commit                  = true -> false
!     allow_rebase_merge                  = true -> false
!     allow_update_branch                 = false -> true
!     code_scanning_default_setup_enabled = true -> false
!     dependabot_security_updates_enabled = false -> true
!     gh_pages_build_type                 = "disabled" -> "workflow"
!     has_projects                        = true -> false
!     has_wiki                            = true -> false
!     homepage                            = null -> "https://eclipse-score.github.io/reference_integration"
!     topics                              = [
-      "score"
!     ]
!   }

  
!   repo_ruleset[name="main", repository=reference_integration] {
!     bypass_actors = [
+      "@eclipse-score/infrastructure-maintainers"
!     ]
!   }

+  add repository[name="os_images"] {
+    allow_auto_merge                           = false
+    allow_forking                              = true
+    allow_merge_commit                         = false
+    allow_rebase_merge                         = false
+    allow_squash_merge                         = true
+    allow_update_branch                        = true
+    archived                                   = false
+    auto_init                                  = true
+    code_scanning_default_setup_enabled        = false
+    custom_properties                          = {
+      eclipse_project                            = "automotive.score"
+    }
+    default_branch                             = "main"
+    delete_branch_on_merge                     = true
+    dependabot_alerts_enabled                  = true
+    dependabot_security_updates_enabled        = true
+    description                                = "OS Images for testing and deliveries"
+    gh_pages_build_type                        = "disabled"
+    has_discussions                            = false
+    has_issues                                 = true
+    has_projects                               = false
+    has_wiki                                   = false
+    is_template                                = false
+    merge_commit_message                       = "PR_TITLE"
+    merge_commit_title                         = "MERGE_MESSAGE"
+    name                                       = "os_images"
+    private                                    = false
+    private_vulnerability_reporting_enabled    = false
+    secret_scanning                            = "enabled"
+    secret_scanning_push_protection            = "enabled"
+    squash_merge_commit_message                = "COMMIT_MESSAGES"
+    squash_merge_commit_title                  = "COMMIT_OR_PR_TITLE"
+    topics                                     = []
+    workflows                                  = {
+      actions_can_approve_pull_request_reviews   = true
+      enabled                                    = true
+    }
+  }

+  add repo_ruleset[name="main", repository=os_images] {
+    allows_creations                    = false
+    allows_deletions                    = false
+    allows_force_pushes                 = false
+    allows_updates                      = true
+    bypass_actors                       = []
+    enforcement                         = "active"
+    exclude_refs                        = []
+    include_refs                        = [
+      "refs/heads/main"
+    ],
+    name                                = "main"
+    required_pull_request               = {
+      dismisses_stale_reviews             = true
+      required_approving_review_count     = 1
+      requires_code_owner_review          = true
+      requires_last_push_approval         = false
+      requires_review_thread_resolution   = false
+    }
+    required_status_checks              = {
+      do_not_enforce_on_create            = false
+      status_checks                       = [
+        "eclipse-eca-validation:eclipsefdn/eca"
+      ],
+      strict                              = false
+    }
+    requires_commit_signatures          = false
+    requires_deployments                = false
+    requires_linear_history             = false
+    target                              = "branch"
+  }

  
  Applying changes:
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
  
  Done.
  
  Executed plan: 2 added, 11 changed, 0 deleted.

!                                                                                
! Warning:   The following GitHub repos have been created:                       
!-            https://github.com/eclipse-score/os_images                        
!                                                                                
!            Committers will gain access to it once the sync script runs (~2h).  
!                                                                                

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