Skip to content

fix: work around ottdog bug related to newRepoRuleset#200

Open
AlexanderLanin wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:fix-repo
Open

fix: work around ottdog bug related to newRepoRuleset#200
AlexanderLanin wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:fix-repo

Conversation

@AlexanderLanin

@AlexanderLanin AlexanderLanin commented Jun 26, 2026

Copy link
Copy Markdown
Member

it seems that overwriting required_pull_request does not work, as that lost the requires_last_push_approval key.

All PRs since #190 show diff to live settings problems, and #190 was never applied.

@AlexanderLanin AlexanderLanin requested a review from a team as a code owner June 26, 2026 13:07
@eclipse-otterdog

Copy link
Copy Markdown
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 be 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
Copy Markdown
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
Copy Markdown
Contributor

Please find below the validation of the requested configuration changes:

Diff for bda43e0
Project automotive.score[github_id=eclipse-score]
  there have been 40 validation infos, enable verbose output to display them.
  
  Plan: 0 to add, 0 to change, 0 to delete.

@eclipse-otterdog

Copy link
Copy Markdown
Contributor

Note

The current configuration is out-of-sync with the live settings:

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

-  remove environment[name="copilot", repository=score] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name=".github"] {
!     code_scanning_default_languages = [
-      "javascript"
+      "javascript-typescript"
-      "typescript"
!     ]
!   }

-  remove environment[name="copilot", repository=.github] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repo_ruleset[name="main", repository=bazel_registry] {
!     bypass_actors           = [
+      "#OrganizationAdmin"
!     ]
!     include_refs            = [
!       "refs/heads/main" -> "~DEFAULT_BRANCH"
!     ]
!     requires_linear_history = false -> true
!   }

  
!   repository[name="process_description"] {
!     topics = [
-      "process"
-      "specification"
!     ]
!   }

-  remove environment[name="copilot", repository=process_description] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="itf"] {
!     topics = [
-      "testing"
-      "tooling"
!     ]
!   }

  
!   repository[name="tooling"] {
-    homepage = "",
!     topics   = [
-      "tooling"
!     ]
!   }

  
!   repository[name="baselibs"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

-  remove environment[name="copilot", repository=baselibs] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="communication"] {
!     code_scanning_default_languages     = [
-      "rust"
!     ]
!     code_scanning_default_setup_enabled = false -> true
-    homepage                            = "",
!     topics                              = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="toolchains_qnx"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "toolin"
!     ]
!   }

  
!   repository[name="toolchains_gcc"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "tooling"
!     ]
!   }

  
!   repository[name="cicd-workflows"] {
-    homepage = "",
!     topics   = [
-      "ci-cd"
-      "tooling"
!     ]
!   }

  
!   repository[name="toolchains_rust"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "tooling"
!     ]
!   }

  
!   repository[name="toolchains_gcc_packages"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=toolchains_gcc_packages] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="docs-as-code"] {
!     code_scanning_default_query_suite = "extended" -> "default"
!     topics                            = [
-      "tooling"
!     ]
!   }

  
!   repository[name="orchestrator"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="testing_tools"] {
-    homepage = "",
!     topics   = [
-      "testing"
-      "tooling"
!     ]
!   }

  
!   repository[name="devcontainer"] {
-    homepage = "",
!     topics   = [
-      "tooling"
!     ]
!   }

  
!   repository[name="feo"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="inc_daal"] {
!     topics = [
-      "incubation"
-      "module-implementation"
!     ]
!   }

  
!   repository[name="bazel_platforms"] {
-    homepage = "",
!     topics   = [
-      "bazel"
-      "tooling"
!     ]
!   }

  
!   repository[name="nlohmann_json"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="inc_os_autosd"] {
!     topics = [
-      "incubation"
-      "reference-platform"
!     ]
!   }

  
!   repository[name="bazel-tools-python"] {
-    homepage = "",
!     topics   = [
-      "python"
-      "tooling"
!     ]
!   }

  
!   repository[name="bazel-tools-cc"] {
-    homepage = "",
!     topics   = [
-      "clang"
-      "clang-tidy"
-      "tooling"
!     ]
!   }

  
!   repository[name="lifecycle"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="logging"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

-  remove environment[name="copilot", repository=logging] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="scrample"] {
!     topics = [
-      "module-implementation"
-      "sample"
!     ]
!   }

  
!   repository[name="score-crates"] {
!     topics = [
-      "tooling"
!     ]
!   }

  
!   repository[name="inc_someip_gateway"] {
!     topics = [
-      "incubation"
-      "module-implementation"
!     ]
!   }

-  remove environment[name="copilot", repository=inc_someip_gateway] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="dash-license-scan"] {
-    homepage = "",
!     topics   = [
-      "tooling"
!     ]
!   }

  
!   repository[name="tools"] {
-    homepage = "",
!     topics   = [
-      "tooling"
!     ]
!   }

  
!   repository[name="baselibs_rust"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="inc_diagnostics"] {
!     topics = [
-      "incubation"
-      "module-implementation"
!     ]
!   }

  
!   repository[name="inc_time"] {
!     topics = [
-      "incubation"
-      "module-implementation"
!     ]
!   }

  
!   repository[name="os_images"] {
-    homepage = "",
!     topics   = [
-      "integration"
!     ]
!   }

  
!   repository[name="bazel_cpp_toolchains"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=bazel_cpp_toolchains] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="score_rust_policies"] {
!     topics = [
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=score_rust_policies] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="kyron"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="config_management"] {
!     topics = [
-      "module-implementation"
!     ]
!   }

  
!   repository[name="ferrocene_toolchain_builder"] {
-    homepage = "",
!     topics   = [
-      "toolchain"
-      "tooling"
!     ]
!   }

  
!   repository[name="more-disk-space"] {
!     code_scanning_default_languages = [
-      "javascript"
-      "typescript"
+      "javascript-typescript"
!     ]
!   }

-  remove environment[name="copilot", repository=more-disk-space] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="inc_security_crypto"] {
!     topics = [
-      "incubation"
-      "module-implementation"
!     ]
!   }

-  remove environment[name="copilot", repository=inc_security_crypto] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="rules_imagefs"] {
-    homepage = "",
!     topics   = [
-      "filesystem"
-      "image"
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=rules_imagefs] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="rules_rust"] {
-    homepage = "",
!     topics   = [
-      "bazel"
-      "tooling"
!     ]
!   }

  
!   repository[name="infrastructure"] {
!     code_scanning_default_languages = [
-      "python"
!     ]
!     topics                          = [
-      "tooling"
!     ]
!   }

  
!   repository[name="score_cpp_policies"] {
!     topics = [
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=score_cpp_policies] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="sbom-tool"] {
-    homepage = "",
!     topics   = [
-      "tooling"
!     ]
!   }

  
!   repository[name="cicd-actions"] {
!     code_scanning_default_languages = [
-      "javascript"
-      "typescript"
+      "javascript-typescript"
!     ]
-    homepage                        = "",
!     topics                          = [
-      "ci-cd"
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=cicd-actions] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="qnx_unit_tests"] {
-    homepage = "",
!     topics   = [
-      "testing"
-      "tooling"
!     ]
!   }

-  remove environment[name="copilot", repository=qnx_unit_tests] {
-    deployment_branch_policy = "all"
-    name                     = "copilot"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="mcp-servers"] {
-    homepage = "",
!     topics   = [
-      "ai"
-      "tooling"
!     ]
!   }
  
  Plan: 0 to add, 79 to change, 15 to delete.

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.

1 participant