This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 79c1168137f8 chore(site): save time in fetching repo (#14214)
79c1168137f8 is described below
commit 79c1168137f80a9ad5d816d08d82d0341662da1e
Author: Shiyan Xu <[email protected]>
AuthorDate: Wed Nov 5 13:10:17 2025 -0800
chore(site): save time in fetching repo (#14214)
---
.github/workflows/asf-site.ci.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/asf-site.ci.yml
b/.github/workflows/asf-site.ci.yml
index f2d66083ea2b..0637aeac21ff 100644
--- a/.github/workflows/asf-site.ci.yml
+++ b/.github/workflows/asf-site.ci.yml
@@ -16,7 +16,12 @@ jobs:
- uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
- fetch-depth: 0
+ # Use shallow clone with only 50 commits of history
+ fetch-depth: 50
+ # Don't fetch tags (this can save significant time)
+ fetch-tags: false
+ # Only fetch the PR branch and base branch
+ filter: 'tree:0'
- name: Check for files in content/
if: github.event_name == 'pull_request'
run: |