eclipse-tractusx / .eclipsefdn

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

chore: add api-hub repository #73

Closed tomaszbarwicki closed 2 months ago

tomaszbarwicki commented 2 months ago

Description

PR to create new repository 'api-hub' to host/publish products' APIs via GitHub Pages.

@Siegfriedk please approve.

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

eclipse-otterdog[bot] commented 2 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 2 months ago

This is your friendly self-service bot.

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

Additionally, tomaszbarwicki is a member of the following teams:

eclipse-otterdog[bot] commented 2 months ago

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

Diff for eeea9f685892a86ec8410cb5f58a5fa4f0a06303 ```diff Organization automotive.tractusx[id=eclipse-tractusx] ╷ │ Warning: repository[name="bpn-did-resolution-service"] has 'gh_pages_build_type' with value 'legacy' but no corresponding 'github-pages' environment, please add such an environment. ╵ there have been 48 validation infos, enable verbose output with '-v' to to display them. + add repository[name="api-hub"] { + 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 + default_branch = "main" + delete_branch_on_merge = false + dependabot_alerts_enabled = true + dependabot_security_updates_enabled = false + description = null + gh_pages_build_type = "legacy" + gh_pages_source_branch = "gh-pages" + gh_pages_source_path = "/" + has_discussions = false + has_issues = true + has_projects = true + has_wiki = true + homepage = "https://eclipse-tractusx.github.io/api-hub" + is_template = false + merge_commit_message = "PR_TITLE" + merge_commit_title = "MERGE_MESSAGE" + name = "api-hub" + private = false + private_vulnerability_reporting_enabled = true + secret_scanning = "enabled" + secret_scanning_push_protection = "enabled" + squash_merge_commit_message = "COMMIT_MESSAGES" + squash_merge_commit_title = "COMMIT_OR_PR_TITLE" + template_repository = null + topics = [] + web_commit_signoff_required = false + } + add repo_workflow_settings[repository="api-hub"] { + actions_can_approve_pull_request_reviews = true + default_workflow_permissions = "write" + enabled = true + } + add environment[name="github-pages", repository="api-hub"] { + branch_policies = [ + "gh-pages" + ], + deployment_branch_policy = "selected" + name = "github-pages" + reviewers = [] + wait_timer = "0" + } Plan: 3 to add, 0 to change, 0 to delete. ```
eclipse-otterdog[bot] commented 2 months ago

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

eclipse-otterdog[bot] commented 2 months 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:

Siegfriedk commented 2 months ago

Looks good

tomaszbarwicki commented 2 months ago

/otterdog merge

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

+  add repository[name="api-hub"] {
+    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
+    default_branch                    = "main"
+    delete_branch_on_merge            = false
+    dependabot_alerts_enabled         = true
+    dependabot_security_updates_enabled = false
+    description                       = null
+    gh_pages_build_type               = "legacy"
+    gh_pages_source_branch            = "gh-pages"
+    gh_pages_source_path              = "/"
+    has_discussions                   = false
+    has_issues                        = true
+    has_projects                      = true
+    has_wiki                          = true
+    homepage                          = "https://eclipse-tractusx.github.io/api-hub"
+    is_template                       = false
+    merge_commit_message              = "PR_TITLE"
+    merge_commit_title                = "MERGE_MESSAGE"
+    name                              = "api-hub"
+    private                           = false
+    private_vulnerability_reporting_enabled = true
+    secret_scanning                   = "enabled"
+    secret_scanning_push_protection   = "enabled"
+    squash_merge_commit_message       = "COMMIT_MESSAGES"
+    squash_merge_commit_title         = "COMMIT_OR_PR_TITLE"
+    template_repository               = null
+    topics                            = []
+    web_commit_signoff_required       = false
+  }

+  add repo_workflow_settings[repository="api-hub"] {
+    actions_can_approve_pull_request_reviews = true
+    default_workflow_permissions      = "write"
+    enabled                           = true
+  }

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

  Applying changes:

  Done.

  Executed plan: 3 added, 0 changed, 0 deleted.