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

chore: add bpdm-upload-tool repository #72

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

almadigabor
Copy link
Contributor

@almadigabor almadigabor commented Apr 18, 2024

Also enabled GitHub Pages for the new repository.

Related to this issue.

@Siegfriedk please approve.

Description

Pre-review checks

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

Enabled GitHub Pages for the new repository

Signed-off-by: Gábor Almádi <47537664+almadigabor@users.noreply.github.com>
@almadigabor almadigabor requested a review from a team as a code owner April 18, 2024 11:31
Copy link

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:

  • 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)

Copy link

This is your friendly self-service bot.

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

Additionally, almadigabor is a member of the following teams:

Copy link

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

Diff for c502745
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="bpdm-upload-tool"] {
+    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                   = true
+    has_issues                        = true
+    has_projects                      = true
+    has_wiki                          = true
+    homepage                          = null
+    is_template                       = false
+    merge_commit_message              = "PR_TITLE"
+    merge_commit_title                = "MERGE_MESSAGE"
+    name                              = "bpdm-upload-tool"
+    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="bpdm-upload-tool"] {
+    actions_can_approve_pull_request_reviews = true
+    default_workflow_permissions      = "write"
+    enabled                           = true
+  }

+  add environment[name="github-pages", repository="bpdm-upload-tool"] {
+    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.

Copy link

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

@Siegfriedk
Copy link
Contributor

Looks good

@netomi netomi requested a review from Siegfriedk April 18, 2024 12:14

This comment has been minimized.

private_vulnerability_reporting_enabled: true,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
Copy link
Contributor

Choose a reason for hiding this comment

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

can you change that to read?

Copy link

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

  • 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

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

@netomi
Copy link
Contributor

netomi commented Apr 18, 2024

fyi: you can auto-merge yourself as explained in the comment above.

@almadigabor
Copy link
Contributor Author

/otterdog merge

@eclipse-otterdog eclipse-otterdog bot merged commit e37717a into eclipse-tractusx:main Apr 19, 2024
4 checks passed
Copy link

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="bpdm-upload-tool"] {
+    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                   = true
+    has_issues                        = true
+    has_projects                      = true
+    has_wiki                          = true
+    homepage                          = null
+    is_template                       = false
+    merge_commit_message              = "PR_TITLE"
+    merge_commit_title                = "MERGE_MESSAGE"
+    name                              = "bpdm-upload-tool"
+    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="bpdm-upload-tool"] {
+    actions_can_approve_pull_request_reviews = true
+    default_workflow_permissions      = "write"
+    enabled                           = true
+  }

+  add environment[name="github-pages", repository="bpdm-upload-tool"] {
+    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.

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.

None yet

3 participants