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-spring-boot.git


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

commit 5915ee96976365a4c56d67ec3454f572e3e5a93d
Author: Gaelle Fournier <[email protected]>
AuthorDate: Tue Oct 28 14:49:13 2025 +0100

    ci: Add github workflow to validation documentation on PR
---
 .github/workflows/pr-doc-validation.yml | 62 +++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/.github/workflows/pr-doc-validation.yml 
b/.github/workflows/pr-doc-validation.yml
new file mode 100644
index 00000000000..8145ed1f56f
--- /dev/null
+++ b/.github/workflows/pr-doc-validation.yml
@@ -0,0 +1,62 @@
+#
+# 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
+      - 'camel-spring-boot-*'
+    paths-ignore:
+      - README.md
+      - Jenkinsfile
+      - Jenkinsfile.*
+      - '*.txt'
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+permissions:
+  contents: read
+
+jobs:
+  check-doc:
+    if: github.repository == 'apache/camel-spring-boot'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout camel-spring-boot repo
+        uses: actions/checkout@v5
+        with:
+          persist-credentials: false
+          submodules: recursive
+          path: camel-spring-boot
+      - name: Checkout camel-website repo
+        uses: actions/checkout@v5
+        with:
+          repository: apache/camel-website
+          path: camel-website
+          ref: main
+
+      - name: Validate documentation
+        shell: bash
+        run: |
+          cd camel-website
+          yarn install
+          cd ../camel-spring-boot/docs
+          yarn install
+          ./local-build.sh quick
\ No newline at end of file

Reply via email to