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

kezhenxu94 pushed a commit to branch kezhenxu94-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/kezhenxu94-patch-1 by this 
push:
     new 811213ab16 Update skywalking.yaml
811213ab16 is described below

commit 811213ab16f2f4fba90c1e0413df975b960f6a57
Author: kezhenxu94 <kezhenx...@apache.org>
AuthorDate: Mon Mar 13 22:57:54 2023 +0800

    Update skywalking.yaml
---
 .github/workflows/skywalking.yaml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/skywalking.yaml 
b/.github/workflows/skywalking.yaml
index 9ac0193790..6cd2a67720 100644
--- a/.github/workflows/skywalking.yaml
+++ b/.github/workflows/skywalking.yaml
@@ -55,6 +55,19 @@ jobs:
       - name: Check code style
         run: ./mvnw -B -q clean checkstyle:check
 
+  check-javadoc:
+    if: (github.event_name == 'schedule' && github.repository == 
'apache/skywalking') || (github.event_name != 'schedule')
+    name: Check JavaDoc
+    runs-on: ubuntu-latest
+    timeout-minutes: 10
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          submodules: true
+      - name: Check JavaDoc
+        run: ./mvnw -B -q clean javadoc:javadoc
+
+
   dependency-license:
     if: |
       ( always() && ! cancelled() ) &&
@@ -89,14 +102,15 @@ jobs:
   sanity-check:
     if: ( always() && ! cancelled() ) && (github.event_name == 'schedule' && 
github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
     name: Sanity check results
-    needs: [license-header, code-style, dependency-license]
+    needs: [license-header, code-style, check-javadoc, dependency-license]
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
       - name: Check results
         run: |
           [[ ${{ needs.license-header.result }} == 'success' ]] || exit 1;
-          [[ ${{ needs.code-style.result }} == 'success' ]] || exit 1;
+          [[ ${{ needs.code-style.result }} == 'success' ]] || exit 1
+          [[ ${{ needs.check-javadoc.result }} == 'success' ]] || exit 1;
           [[ ${{ needs.dependency-license.result }} == 'success' ]] || [[ ${{ 
needs.dependency-license.result }} == 'skipped' ]] || exit 1;
 
   changes:

Reply via email to