mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-05 19:08:38 +08:00
Update development script (#16623)
This commit is contained in:
6
.github/workflows/sep-tests.yml
vendored
6
.github/workflows/sep-tests.yml
vendored
@@ -135,7 +135,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
|
||||
@@ -1120,4 +1122,4 @@ jobs:
|
||||
fi
|
||||
if [[ -n ${PORT_RESERVATION:-} ]]; then
|
||||
rm -f "${PORT_RESERVATION}"
|
||||
fi
|
||||
fi
|
||||
|
||||
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