You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/04/02 13:26:03 UTC

[dolphinscheduler-website] 01/01: Revert "[ci] Add CI failed when any change in docs (#757)"

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

zhongjiajie pushed a commit to branch revert-757-ci-mark-failed-when-doc-change
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git

commit 9fef5f32125bb7780d800330f28187e8354bb344
Author: Jiajie Zhong <zh...@gmail.com>
AuthorDate: Sat Apr 2 21:25:59 2022 +0800

    Revert "[ci] Add CI failed when any change in docs (#757)"
    
    This reverts commit 0cbd219954d6d35338f89799af377b9b6cb48b78.
---
 .asf.yaml                          |  1 -
 .github/workflows/change-docs.yaml | 48 --------------------------------------
 2 files changed, 49 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index f1d55bf..eeccd05 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -40,7 +40,6 @@ github:
       required_status_checks:
         contexts:
           - CheckDeadLinks
-          - docs-check
       required_pull_request_reviews:
         dismiss_stale_reviews: true
         required_approving_review_count: 1
diff --git a/.github/workflows/change-docs.yaml b/.github/workflows/change-docs.yaml
deleted file mode 100644
index e4b4f9a..0000000
--- a/.github/workflows/change-docs.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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: Docs
-
-on:
-  pull_request:
-    branches:
-      - master
-
-env:
-  DOCS_FLAG: ^docs
-
-concurrency:
-  group: docs-${{ github.event.pull_request.number || github.ref }}
-  cancel-in-progress: true
-
-jobs:
-  # We do not accept anyone who wants to make some change to directory `docs`, you should
-  # consider changing the content in https://github.com/apache/dolphinscheduler-website/tree/history-docs
-  # if you want to change the history docs before DolphinScheduler 3.0.0-alpha. Or changing the content
-  # in https://github.com/apache/dolphinscheduler/tree/dev/docs for the latest docs.
-  docs-check:
-    timeout-minutes: 5
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: Get Branch origin/dev
-        run: |
-          git fetch --no-tags --prune --depth=1 origin master
-      - name: Fail When Docs Dir Change
-        run: |
-          if git diff --name-only origin/master HEAD | grep -q -E "${{ env.DOCS_FLAG }}"; then
-            exit 1
-          fi