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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c37a90b624 [Fix](CI) make file move related deadlink check enable 
(#1217)
3c37a90b624 is described below

commit 3c37a90b62406c0f98f1f0918d5cc3d3f5af75a1
Author: zclllhhjj <zhaochan...@selectdb.com>
AuthorDate: Thu Oct 31 11:09:11 2024 +0800

    [Fix](CI) make file move related deadlink check enable (#1217)
    
    # Versions
    
    - [ ] dev
    - [ ] 3.0
    - [ ] 2.1
    - [ ] 2.0
    
    # Languages
    
    - [ ] Chinese
    - [ ] English
---
 .github/workflows/build-check.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-check.yml 
b/.github/workflows/build-check.yml
index bc8f7a65db0..7d113beb624 100644
--- a/.github/workflows/build-check.yml
+++ b/.github/workflows/build-check.yml
@@ -35,6 +35,7 @@ jobs:
               uses: actions/checkout@v3
               with:
                 ref: ${{ github.event.pull_request.head.sha }}
+                fetch-depth: 0
 
             - name: clone common docs to versioned_docs
               run: |
@@ -94,8 +95,13 @@ jobs:
               with:
                 python-version: '3.9'
             
-            - name: Run Python script with all commit SHAs
-              run: python check_move.py "${{ 
github.event.pull_request.head.sha }}"
+            - name: Refactor PR commits and check move
+              run: |
+                git config --global user.email "g...@apache.org"
+                git config --global user.name "github-action-test"
+                git reset --soft origin/master
+                git commit -m "All this PR changed(for test)"
+                python check_move.py `git rev-parse HEAD`
         
             - name: Check exit code
               run: |


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to