mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-10 21:55:42 +08:00
Update development script (#16623)
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -100,7 +100,9 @@ jobs:
|
||||
trap 'rm -f "$changed_files"' EXIT
|
||||
git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} \
|
||||
| while read -r file; do
|
||||
[[ -f "$file" ]] && printf '%s\0' "$file"
|
||||
if [[ -f "$file" ]]; then
|
||||
printf '%s\0' "$file"
|
||||
fi
|
||||
done > "$changed_files"
|
||||
echo "Changed files to run lefthook on:"
|
||||
if [[ -s "$changed_files" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user