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

xuanwo pushed a commit to branch planner
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/planner by this push:
     new 390bb1839 compare with pr base
390bb1839 is described below

commit 390bb1839a1ecae9062a957f5326ded7bae1bf1d
Author: Xuanwo <[email protected]>
AuthorDate: Wed Oct 18 15:59:51 2023 +0800

    compare with pr base
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/workflows/behavior_test.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/behavior_test.yml 
b/.github/workflows/behavior_test.yml
index 3925a1322..838b605ab 100644
--- a/.github/workflows/behavior_test.yml
+++ b/.github/workflows/behavior_test.yml
@@ -62,8 +62,7 @@ jobs:
               has_secrets="true"
             fi
 
-            git fetch origin main:main
-            files_changed=$(git diff --name-only main ${{ 
github.event.pull_request.head.sha }})
+            files_changed=$(git diff --name-only ${{ 
github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
             echo "Files changed:"
             echo "$files_changed"
           fi

Reply via email to