fix: set file_no_doc_changed global var

This commit is contained in:
haoranchen 2025-02-18 20:09:34 +08:00 committed by GitHub
parent 61b076da6e
commit 9a94c9b9a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def check_docs(){
returnStdout: true
)
def file_no_doc_changed = sh (
file_no_doc_changed = sh (
script: '''
cd ${WKC}
git --no-pager diff --name-only FETCH_HEAD `git merge-base FETCH_HEAD ${CHANGE_TARGET}`|grep -v "^docs/en/"|grep -v "^docs/zh/"|grep -v ".md$" || :