This is an automated email from the ASF dual-hosted git repository.

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 9bbc2ac27b ci: Add github workflow to validation documentation on PR
9bbc2ac27b is described below

commit 9bbc2ac27b9774d8aa741cd65f609f9cc13b950b
Author: Gaelle Fournier <[email protected]>
AuthorDate: Fri Oct 24 10:29:40 2025 +0200

    ci: Add github workflow to validation documentation on PR
---
 .github/workflows/ci-build.yaml         |  2 ++
 .github/workflows/pr-doc-validation.yml | 60 +++++++++++++++++++++++++++++++++
 .github/workflows/pr-validate.yml       |  1 +
 3 files changed, 63 insertions(+)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 2d8739c081..b03efd7300 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -46,6 +46,7 @@ on:
       - '.github/workflows/pr-validate.yml'
       - '.github/workflows/quarkus-master-cron.yaml'
       - '.github/workflows/synchronize-dependabot-branch.yaml'
+      - '.github/workflows/pr-doc-validation.yaml'
       - 'docs/antora.yml'
       - 'release-utils/**'
   pull_request:
@@ -74,6 +75,7 @@ on:
       - '.github/workflows/quarkus-lts-ci-build.yaml'
       - '.github/workflows/quarkus-master-cron.yaml'
       - '.github/workflows/synchronize-dependabot-branch.yaml'
+      - '.github/workflows/pr-doc-validation.yaml'
       - 'docs/antora.yml'
       - 'release-utils/**'
 
diff --git a/.github/workflows/pr-doc-validation.yml 
b/.github/workflows/pr-doc-validation.yml
new file mode 100644
index 0000000000..00cfb5326e
--- /dev/null
+++ b/.github/workflows/pr-doc-validation.yml
@@ -0,0 +1,60 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: PR doc validation
+on:
+  pull_request:
+    branches:
+      - main
+      - "[0-9]+.[0-9]+.x"
+    paths:
+      - '**.adoc'
+      - '!**/README.adoc'
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+permissions:
+  contents: read
+
+jobs:
+  check-doc:
+    if: github.repository == 'apache/camel-quarkus'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout camel-quarkus repo
+        uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 
v5.0.0
+        with:
+          persist-credentials: false
+          submodules: recursive
+          path: camel-quarkus
+      - name: Checkout camel-website repo
+        uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 
v5.0.0
+        with:
+          repository: apache/camel-website
+          path: camel-website
+          ref: main
+
+      - name: Validate documentation
+        shell: bash
+        run: |
+          cd camel-website
+          yarn install
+          cd ../camel-quarkus/docs
+          yarn install
+          ./local-build.sh quick
\ No newline at end of file
diff --git a/.github/workflows/pr-validate.yml 
b/.github/workflows/pr-validate.yml
index fa9e0964ee..dbb5a1f222 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -46,6 +46,7 @@ on:
       - '.github/workflows/quarkus-lts-ci-build.yaml'
       - '.github/workflows/quarkus-master-cron.yaml'
       - '.github/workflows/synchronize-dependabot-branch.yaml'
+      - '.github/workflows/pr-doc-validation.yaml'
       - 'docs/antora.yml'
       - 'release-utils/**'
 

Reply via email to