Skip to content

Add read the docs webhook for communication repo#144

Open
soldier-sky wants to merge 2 commits intoeclipse-score:mainfrom
soldier-sky:suya_add_read_the_docs_webhook_for_communication_repo
Open

Add read the docs webhook for communication repo#144
soldier-sky wants to merge 2 commits intoeclipse-score:mainfrom
soldier-sky:suya_add_read_the_docs_webhook_for_communication_repo

Conversation

@soldier-sky
Copy link

Added webhook for Read the Docs build server in eclipse-communication repo to automatically trigger build and deploy sphinx report

Signed-off-by: SKY <yadavsunilsky21@gmail.com>
Signed-off-by: SKY <yadavsunilsky21@gmail.com>
@soldier-sky soldier-sky marked this pull request as ready for review February 24, 2026 11:26
@soldier-sky soldier-sky requested a review from a team as a code owner February 24, 2026 11:26
@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 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
Contributor

The author (soldier-sky) of this PR is associated with this organization in the role of NONE.

@eclipse-otterdog
Copy link
Contributor

Please find below the validation of the requested configuration changes:

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

+  add repo_webhook[url="https://app.readthedocs.org/api/v2/webhook/score-communication/319863/", 
repository=communication] {
+    active       = true
+    content_type = "json"
+    events       = [
+      "push"
+      "pull_request"
+      "create"
+      "delete"
+    ],
+    insecure_ssl = "0"
+    secret       = "pass:bots/automotive.score/readthedocs.org/webhook_secret"
+  }

  
!   repository[name="logging"] {
!     allow_rebase_merge = true -> false
!   }
  
  Plan: 1 to add, 1 to change, 0 to delete.

Warnings

  • some of requested changes require secrets, need to apply these changes manually

cc @eclipse-score/eclipsefdn-security

cc @eclipse-score/eclipsefdn-releng

@eclipse-otterdog
Copy link
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 33 validation infos, enable verbose output to display them.

  
!   repository[name="baselibs"] {
!     code_scanning_default_setup_enabled = true -> false
!   }

-  remove environment[name="workflow-approval", repository=orchestrator] {
-    deployment_branch_policy = "all"
-    name                     = "workflow-approval"
-    reviewers                = []
-    wait_timer               = 0
-  }

  
!   repository[name="testing_tools"] {
!     code_scanning_default_languages = [
-      "actions"
!     ]
!   }

-  remove environment[name="workflow-approval", repository=lifecycle] {
-    deployment_branch_policy = "all"
-    name                     = "workflow-approval"
-    reviewers                = []
-    wait_timer               = 0
-  }

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

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

-  remove environment[name="workflow-approval", repository=kyron] {
-    deployment_branch_policy = "all"
-    name                     = "workflow-approval"
-    reviewers                = []
-    wait_timer               = 0
-  }
  
  Plan: 0 to add, 2 to change, 5 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