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

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


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

commit 8dc075157c07ed637563efe9b69d49c992cd686c
Author: GaĆ«lle Fournier <[email protected]>
AuthorDate: Mon Nov 3 15:00:59 2025 +0100

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

diff --git a/.github/workflows/pr-doc-validation.yml 
b/.github/workflows/pr-doc-validation.yml
new file mode 100644
index 000000000..a9173c1e0
--- /dev/null
+++ b/.github/workflows/pr-doc-validation.yml
@@ -0,0 +1,58 @@
+#
+# 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
+    paths:
+      - '**.adoc'
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+permissions:
+  contents: read
+
+jobs:
+  check-doc:
+    if: github.repository == 'apache/camel-kamelets'
+    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-kamelets
+      - 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-kamelets/docs
+          yarn install
+          ./local-build.sh quick
\ No newline at end of file

Reply via email to