eclipse-keypop / .eclipsefdn

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

feat: add keypop-api-docs and add keypop-actions repos configuration #11

Closed jeanpierrefortune closed 3 days ago

eclipse-otterdog[bot] commented 4 days 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 4 days ago

This is your friendly self-service bot.

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

Additionally, jeanpierrefortune is a member of the following teams:

eclipse-otterdog[bot] commented 4 days ago

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

Diff for 36709c8e269119a8a85a6c54390ea67d7ec63ef9 ```diff Additional properties are not allowed ('code_scanning_default_enabled' was unexpected) Failed validating 'additionalProperties' in schema['properties']['repositories']['items']: {'$id': 'repository.json', 'type': 'object', 'properties': {'name': {'type': 'string'}, 'aliases': {'type': 'array', 'items': {'type': 'string'}}, 'description': {'$ref': '#/definitions/string_or_null'}, 'homepage': {'$ref': '#/definitions/string_or_null'}, 'private': {'type': 'boolean'}, 'has_discussions': {'type': 'boolean'}, 'has_issues': {'type': 'boolean'}, 'has_projects': {'type': 'boolean'}, 'has_wiki': {'type': 'boolean'}, 'is_template': {'type': 'boolean'}, 'template_repository': {'$ref': '#/definitions/string_or_null'}, 'post_process_template_content': {'type': 'array', 'items': {'type': 'string'}}, 'forked_repository': {'$ref': '#/definitions/string_or_null'}, 'fork_default_branch_only': {'type': 'boolean'}, 'auto_init': {'type': 'boolean'}, 'topics': {'type': 'array', 'items': {'type': 'string'}}, 'default_branch': {'type': 'string'}, 'allow_rebase_merge': {'type': 'boolean'}, 'allow_merge_commit': {'type': 'boolean'}, 'allow_squash_merge': {'type': 'boolean'}, 'allow_auto_merge': {'type': 'boolean'}, 'delete_branch_on_merge': {'type': 'boolean'}, 'allow_update_branch': {'type': 'boolean'}, 'squash_merge_commit_title': {'type': 'string'}, 'squash_merge_commit_message': {'type': 'string'}, 'merge_commit_title': {'type': 'string'}, 'merge_commit_message': {'type': 'string'}, 'archived': {'type': 'boolean'}, 'allow_forking': {'type': 'boolean'}, 'web_commit_signoff_required': {'type': 'boolean'}, 'secret_scanning': {'type': 'string'}, 'secret_scanning_push_protection': {'type': 'string'}, 'dependabot_alerts_enabled': {'type': 'boolean'}, 'dependabot_security_updates_enabled': {'type': 'boolean'}, 'private_vulnerability_reporting_enabled': {'type': 'boolean'}, 'code_scanning_default_setup_enabled': {'type': 'boolean'}, 'code_scanning_default_query_suite': {'type': 'string'}, 'code_scanning_default_languages': {'type': 'array', 'items': {'type': 'string'}}, 'custom_properties': {'$ref': '#/definitions/object_or_null'}, 'gh_pages_build_type': {'type': 'string'}, 'gh_pages_source_branch': {'$ref': '#/definitions/string_or_null'}, 'gh_pages_source_path': {'$ref': '#/definitions/string_or_null'}, 'workflows': {'$ref': 'repo-workflow-settings.json'}, 'branch_protection_rules': {'type': 'array', 'items': {'$ref': 'branch-protection-rule.json'}}, 'rulesets': {'type': 'array', 'items': {'$ref': 'repository-ruleset.json'}}, 'webhooks': {'type': 'array', 'items': {'$ref': 'webhook.json'}}, 'secrets': {'type': 'array', 'items': {'$ref': 'repo-secret.json'}}, 'variables': {'type': 'array', 'items': {'$ref': 'repo-variable.json'}}, 'environments': {'type': 'array', 'items': {'$ref': 'environment.json'}}}, 'required': ['name', 'private'], 'additionalProperties': False, 'definitions': {'string_or_null': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'object_or_null': {'anyOf': [{'type': 'object', 'patternProperties': {'^.*_': {'type': 'string'}}}, {'type': 'null'}]}}} On instance['repositories'][3]: {'allow_auto_merge': False, 'allow_forking': True, 'allow_merge_commit': True, 'allow_rebase_merge': True, 'allow_squash_merge': True, 'allow_update_branch': False, 'archived': False, 'auto_init': True, 'branch_protection_rules': [{'allows_deletions': False, 'allows_force_pushes': False, 'blocks_creations': False, 'bypass_force_push_allowances': [], 'bypass_pull_request_allowances': [], 'dismisses_stale_reviews': False, 'is_admin_enforced': False, 'lock_allows_fetch_and_merge': False, 'lock_branch': False, 'pattern': 'main', 'push_restrictions': [], 'require_last_push_approval': False, 'required_approving_review_count': 1, 'required_deployment_environments': [], 'required_status_checks': ['eclipse-eca-validation:eclipsefdn/eca'], '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, 'requires_strict_status_checks': True, 'restricts_pushes': False, 'restricts_review_dismissals': False, 'review_dismissal_allowances': []}], 'code_scanning_default_enabled': False, 'code_scanning_default_languages': [], 'code_scanning_default_query_suite': 'default', 'code_scanning_default_setup_enabled': False, 'custom_properties': {}, 'default_branch': 'main', 'delete_branch_on_merge': False, 'dependabot_alerts_enabled': True, 'dependabot_security_updates_enabled': False, 'description': 'Eclipse Keypop project repository centralizing API ' 'documentation (Javadoc, Doxygen) from all Keypop ' 'libraries', 'environments': [{'branch_policies': ['gh-pages'], 'deployment_branch_policy': 'selected', 'name': 'github-pages', 'reviewers': [], 'wait_timer': 0}], 'fork_default_branch_only': True, 'forked_repository': None, 'gh_pages_build_type': 'legacy', 'gh_pages_source_branch': 'main', 'gh_pages_source_path': '/', 'has_discussions': False, 'has_issues': True, 'has_projects': False, 'has_wiki': False, 'homepage': 'https://keypop.org/', 'is_template': False, 'merge_commit_message': 'PR_TITLE', 'merge_commit_title': 'MERGE_MESSAGE', 'name': 'keypop-api-docs', 'private': False, 'private_vulnerability_reporting_enabled': False, 'rulesets': [], 'secret_scanning': 'enabled', 'secret_scanning_push_protection': 'enabled', 'secrets': [], 'squash_merge_commit_message': 'COMMIT_MESSAGES', 'squash_merge_commit_title': 'COMMIT_OR_PR_TITLE', 'template_repository': None, 'topics': ['documentation', 'javadoc', 'doxygen', 'keypop'], 'variables': [], 'web_commit_signoff_required': False, 'webhooks': [], 'workflows': {'actions_can_approve_pull_request_reviews': True, 'allow_action_patterns': [], 'allow_github_owned_actions': True, 'allow_verified_creator_actions': True, 'allowed_actions': 'all', 'default_workflow_permissions': 'write', 'enabled': True}} ```
eclipse-otterdog[bot] commented 4 days ago

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

eclipse-otterdog[bot] commented 4 days ago

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

Diff for 2080d78e2404578fa3a7850f6a9a6f0a4b110fd8 ```diff Organization iot.keypop[id=eclipse-keypop] there have been 22 validation infos, enable verbose output with '-v' to to display them. + add repository[name="keypop-actions"] { + allow_auto_merge = false + allow_forking = true + allow_merge_commit = true + allow_rebase_merge = true + allow_squash_merge = true + allow_update_branch = false + archived = false + auto_init = true + code_scanning_default_languages = [] + code_scanning_default_query_suite = "default" + code_scanning_default_setup_enabled = true + custom_properties = {} + default_branch = "main" + delete_branch_on_merge = false + dependabot_alerts_enabled = true + dependabot_security_updates_enabled = true + description = "Eclipse Keypop project repository containing reusable GitHub Actions for Keypop projects" + gh_pages_build_type = "disabled" + has_discussions = false + has_issues = true + has_projects = false + has_wiki = false + homepage = "https://keypop.org/" + is_template = false + merge_commit_message = "PR_TITLE" + merge_commit_title = "MERGE_MESSAGE" + name = "keypop-actions" + 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 = [ + "github-actions" + "ci-cd" + "automation" + "keypop" + ], + web_commit_signoff_required = false + } + add repo_workflow_settings[repository="keypop-actions"] { + enabled = true + } + add branch_protection_rule[pattern="main", repository="keypop-actions"] { + allows_deletions = false + allows_force_pushes = false + blocks_creations = false + bypass_force_push_allowances = [] + bypass_pull_request_allowances = [] + dismisses_stale_reviews = false + 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 + required_status_checks = [ + "eclipse-eca-validation:eclipsefdn/eca" + ], + 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 = true + requires_strict_status_checks = true + restricts_pushes = false + restricts_review_dismissals = false + } + add repository[name="keypop-api-docs"] { + allow_auto_merge = false + allow_forking = true + allow_merge_commit = true + allow_rebase_merge = true + allow_squash_merge = true + allow_update_branch = false + archived = false + auto_init = true + code_scanning_default_setup_enabled = false + custom_properties = {} + default_branch = "main" + delete_branch_on_merge = false + dependabot_alerts_enabled = true + dependabot_security_updates_enabled = false + description = "Eclipse Keypop project repository centralizing API documentation (Javadoc, Doxygen) from all Keypop libraries" + gh_pages_build_type = "legacy" + gh_pages_source_branch = "main" + gh_pages_source_path = "/" + has_discussions = false + has_issues = true + has_projects = false + has_wiki = false + homepage = "https://keypop.org/" + is_template = false + merge_commit_message = "PR_TITLE" + merge_commit_title = "MERGE_MESSAGE" + name = "keypop-api-docs" + 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 = [ + "documentation" + "javadoc" + "doxygen" + "keypop" + ], + web_commit_signoff_required = false + } + add repo_workflow_settings[repository="keypop-api-docs"] { + enabled = true + } + add environment[name="github-pages", repository="keypop-api-docs"] { + branch_policies = [ + "gh-pages" + ], + deployment_branch_policy = "selected" + name = "github-pages" + reviewers = [] + wait_timer = 0 + } + add branch_protection_rule[pattern="main", repository="keypop-api-docs"] { + allows_deletions = false + allows_force_pushes = false + blocks_creations = false + bypass_force_push_allowances = [] + bypass_pull_request_allowances = [] + dismisses_stale_reviews = false + 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: 7 to add, 0 to change, 0 to delete. ```
eclipse-otterdog[bot] commented 4 days ago

This is your friendly self-service bot. This Pull Request is eligible for auto-merging as it passed the following checks:

In order to automatically merge and apply the changes, add a comment /otterdog merge. :rocket:

eclipse-otterdog[bot] commented 4 days ago

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

eclipse-otterdog[bot] commented 3 days ago

This is your friendly self-service bot.

The following changes have been successfully applied:


Organization iot.keypop[id=eclipse-keypop]
  there have been 22 validation infos, enable verbose output with '-v' to to display them.

+  add repository[name="keypop-actions"] {
+    allow_auto_merge                  = false
+    allow_forking                     = true
+    allow_merge_commit                = true
+    allow_rebase_merge                = true
+    allow_squash_merge                = true
+    allow_update_branch               = false
+    archived                          = false
+    auto_init                         = true
+    code_scanning_default_languages   = []
+    code_scanning_default_query_suite = "default"
+    code_scanning_default_setup_enabled = true
+    custom_properties                 = {}
+    default_branch                    = "main"
+    delete_branch_on_merge            = false
+    dependabot_alerts_enabled         = true
+    dependabot_security_updates_enabled = true
+    description                       = "Eclipse Keypop project repository containing reusable GitHub Actions for Keypop projects"
+    gh_pages_build_type               = "disabled"
+    has_discussions                   = false
+    has_issues                        = true
+    has_projects                      = false
+    has_wiki                          = false
+    homepage                          = "https://keypop.org/"
+    is_template                       = false
+    merge_commit_message              = "PR_TITLE"
+    merge_commit_title                = "MERGE_MESSAGE"
+    name                              = "keypop-actions"
+    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                            = [
+      "github-actions"
+      "ci-cd"
+      "automation"
+      "keypop"
+    ],
+    web_commit_signoff_required       = false
+  }

+  add repo_workflow_settings[repository="keypop-actions"] {
+    enabled                           = true
+  }

+  add branch_protection_rule[pattern="main", repository="keypop-actions"] {
+    allows_deletions                  = false
+    allows_force_pushes               = false
+    blocks_creations                  = false
+    bypass_force_push_allowances      = []
+    bypass_pull_request_allowances    = []
+    dismisses_stale_reviews           = false
+    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
+    required_status_checks            = [
+      "eclipse-eca-validation:eclipsefdn/eca"
+    ],
+    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            = true
+    requires_strict_status_checks     = true
+    restricts_pushes                  = false
+    restricts_review_dismissals       = false
+  }

+  add repository[name="keypop-api-docs"] {
+    allow_auto_merge                  = false
+    allow_forking                     = true
+    allow_merge_commit                = true
+    allow_rebase_merge                = true
+    allow_squash_merge                = true
+    allow_update_branch               = false
+    archived                          = false
+    auto_init                         = true
+    code_scanning_default_setup_enabled = false
+    custom_properties                 = {}
+    default_branch                    = "main"
+    delete_branch_on_merge            = false
+    dependabot_alerts_enabled         = true
+    dependabot_security_updates_enabled = false
+    description                       = "Eclipse Keypop project repository centralizing API documentation (Javadoc, Doxygen) from all Keypop libraries"
+    gh_pages_build_type               = "legacy"
+    gh_pages_source_branch            = "main"
+    gh_pages_source_path              = "/"
+    has_discussions                   = false
+    has_issues                        = true
+    has_projects                      = false
+    has_wiki                          = false
+    homepage                          = "https://keypop.org/"
+    is_template                       = false
+    merge_commit_message              = "PR_TITLE"
+    merge_commit_title                = "MERGE_MESSAGE"
+    name                              = "keypop-api-docs"
+    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                            = [
+      "documentation"
+      "javadoc"
+      "doxygen"
+      "keypop"
+    ],
+    web_commit_signoff_required       = false
+  }

+  add repo_workflow_settings[repository="keypop-api-docs"] {
+    enabled                           = true
+  }

+  add environment[name="github-pages", repository="keypop-api-docs"] {
+    branch_policies                   = [
+      "gh-pages"
+    ],
+    deployment_branch_policy          = "selected"
+    name                              = "github-pages"
+    reviewers                         = []
+    wait_timer                        = 0
+  }

+  add branch_protection_rule[pattern="main", repository="keypop-api-docs"] {
+    allows_deletions                  = false
+    allows_force_pushes               = false
+    blocks_creations                  = false
+    bypass_force_push_allowances      = []
+    bypass_pull_request_allowances    = []
+    dismisses_stale_reviews           = false
+    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: 7 added, 0 changed, 0 deleted.
! Warning: The following GitHub repos have been created:
!-    https://github.com/eclipse-keypop/keypop-actions
!-    https://github.com/eclipse-keypop/keypop-api-docs
!    
!    Committers will gain access to it once the sync script runs (~2h).