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

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new d0ba1d3f3 CI: Reduce workflow overhead (#3962)
d0ba1d3f3 is described below

commit d0ba1d3f3dfacf72374754ca2c07f800d0cb4ce4
Author: Kevin Liu <[email protected]>
AuthorDate: Fri Oct 23 21:46:21 2026 -0700

    CI: Reduce workflow overhead (#3962)
    
    Co-authored-by: Copilot App <[email protected]>
---
 .asf.yaml                                  | 2 +-
 .github/workflows/asf-allowlist-check.yml  | 4 ++++
 .github/workflows/codeql.yml               | 4 ++++
 .github/workflows/license_check.yml        | 4 ++++
 .github/workflows/nightly-pypi-build.yml   | 2 +-
 .github/workflows/pypi-build-artifacts.yml | 2 +-
 .github/workflows/python-release-docs.yml  | 2 +-
 .github/workflows/python-release.yml       | 4 ++--
 .github/workflows/stale.yml                | 2 +-
 .github/workflows/svn-build-artifacts.yml  | 2 +-
 Makefile                                   | 4 ++--
 11 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 5be9016a3..319c47872 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -91,7 +91,7 @@ github:
           parameters:
             check_response_timeout_minutes: 180
             grouping_strategy: ALLGREEN
-            max_entries_to_build: 1
+            max_entries_to_build: 2
             max_entries_to_merge: 1
             merge_method: SQUASH
             min_entries_to_merge: 1
diff --git a/.github/workflows/asf-allowlist-check.yml 
b/.github/workflows/asf-allowlist-check.yml
index 132faa1bc..e2e408d35 100644
--- a/.github/workflows/asf-allowlist-check.yml
+++ b/.github/workflows/asf-allowlist-check.yml
@@ -30,6 +30,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   asf-allowlist-check:
     runs-on: ubuntu-slim
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 5de3f9d36..3df052476 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -31,6 +31,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   analyze:
     name: Analyze Actions
diff --git a/.github/workflows/license_check.yml 
b/.github/workflows/license_check.yml
index a6155c84c..f196f2fff 100644
--- a/.github/workflows/license_check.yml
+++ b/.github/workflows/license_check.yml
@@ -25,6 +25,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   rat:
     runs-on: ubuntu-slim
diff --git a/.github/workflows/nightly-pypi-build.yml 
b/.github/workflows/nightly-pypi-build.yml
index 1f4aae490..016b10ec2 100644
--- a/.github/workflows/nightly-pypi-build.yml
+++ b/.github/workflows/nightly-pypi-build.yml
@@ -30,7 +30,7 @@ permissions:
 jobs:
   set-version:
     if: github.repository == 'apache/iceberg-python' || github.event_name == 
'workflow_dispatch' # Run on schedule for apache repo, or on manual dispatch 
from any repo
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     outputs:
       VERSION: ${{ steps.set-version.outputs.VERSION }}
     steps:
diff --git a/.github/workflows/pypi-build-artifacts.yml 
b/.github/workflows/pypi-build-artifacts.yml
index 1d2717cf4..dc1d35d12 100644
--- a/.github/workflows/pypi-build-artifacts.yml
+++ b/.github/workflows/pypi-build-artifacts.yml
@@ -95,7 +95,7 @@ jobs:
           path: ./wheelhouse/*
 
   pypi-merge-artifacts:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     needs:
       - pypi-build-artifacts
     steps:
diff --git a/.github/workflows/python-release-docs.yml 
b/.github/workflows/python-release-docs.yml
index d69fb638e..0f9343f11 100644
--- a/.github/workflows/python-release-docs.yml
+++ b/.github/workflows/python-release-docs.yml
@@ -30,7 +30,7 @@ concurrency:
 
 jobs:
   docs:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     permissions:
       contents: write
 
diff --git a/.github/workflows/python-release.yml 
b/.github/workflows/python-release.yml
index d40975725..47b324ce9 100644
--- a/.github/workflows/python-release.yml
+++ b/.github/workflows/python-release.yml
@@ -41,7 +41,7 @@ permissions:
 
 jobs:
   validate-inputs:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     outputs:
       VERSION: ${{ steps.validate-inputs.outputs.VERSION }} # e.g. 0.8.0
       RC: ${{ steps.validate-inputs.outputs.RC }} # e.g. 1
@@ -96,7 +96,7 @@ jobs:
           STEPS_VALIDATE_INPUTS_OUTPUTS_RC: ${{ 
steps.validate-inputs.outputs.RC }}
 
   validate-library-version:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     needs:
       - validate-inputs
     steps:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 6e5560b53..54e88b092 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -30,7 +30,7 @@ permissions:
 jobs:
   stale:
     if: github.repository_owner == 'apache'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
         with:
diff --git a/.github/workflows/svn-build-artifacts.yml 
b/.github/workflows/svn-build-artifacts.yml
index 703134340..1b275369b 100644
--- a/.github/workflows/svn-build-artifacts.yml
+++ b/.github/workflows/svn-build-artifacts.yml
@@ -86,7 +86,7 @@ jobs:
           path: ./wheelhouse/*
 
   svn-merge-artifacts:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     needs:
       - svn-build-artifacts
     steps:
diff --git a/Makefile b/Makefile
index c1fa3ca8e..9f0282c65 100644
--- a/Makefile
+++ b/Makefile
@@ -165,10 +165,10 @@ test-notebook: ## Run notebook tests (pyiceberg_example 
and spark_integration_ex
 ##@ Documentation
 
 docs-serve: ## Serve local docs preview (hot reload)
-       uv run $(PYTHON_ARG) --group docs mkdocs serve -f mkdocs/mkdocs.yml 
--livereload
+       uv run $(PYTHON_ARG) --no-default-groups --group docs mkdocs serve -f 
mkdocs/mkdocs.yml --livereload
 
 docs-build: ## Build the static documentation site
-       uv run $(PYTHON_ARG) --group docs mkdocs build -f mkdocs/mkdocs.yml 
--strict
+       uv run $(PYTHON_ARG) --no-default-groups --group docs mkdocs build -f 
mkdocs/mkdocs.yml --strict
 
 # ========================
 # Experimentation

Reply via email to