This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 1b442c4fa688 [SPARK-54204][INFRA] Run `build_branch40*.yml` every two
days
1b442c4fa688 is described below
commit 1b442c4fa688074a862560e0b9cd5716f88b3600
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 5 19:09:59 2025 -0800
[SPARK-54204][INFRA] Run `build_branch40*.yml` every two days
### What changes were proposed in this pull request?
This PR aims to run the following GitHub Action jobs every two days instead
of daily.
- build_branch40.yml
- build_branch40_java21.yml
- build_branch40_maven.yml
- build_branch40_maven_java21.yml
- build_branch40_non_ansi.yml
- build_branch40_python.yml
- build_branch40_python_pypy3.10.yml
### Why are the changes needed?
Recently, we added many new `branch-4.1` related CIs which increase our
GitHub Action usage.
<img width="879" height="73" alt="Screenshot 2025-11-05 at 19 03 38"
src="https://github.com/user-attachments/assets/5b0246d3-598c-4b3d-970c-7b29c00bc9e1"
/>
According to the ASF INFRA POLICY, we need to maintain them under the
budget by reducing the usage.
- https://infra.apache.org/github-actions-policy.html
- https://infra-reports.apache.org/#ghactions&project=spark&hours=168
> #### Resource use
> - Due to misconfigurations in their builds, some projects have been using
unsupportable numbers of [GitHub
Actions](https://infra.apache.org/github-actions-secrets.html). As part of
fixing this situation, Infra has established a policy for GitHub Actions use:
> - All workflows MUST have a job concurrency level less than or equal to
20. This means a workflow cannot have more than 20 jobs running at the same
time across all matrices.
> - All workflows SHOULD have a job concurrency level less than or equal to
15. Just because 20 is the max, doesn't mean you should strive for 20.
> - The average number of minutes a project uses per calendar week MUST NOT
exceed the equivalent of 25 full-time runners (250,000 minutes, or 4,200 hours).
> - The average number of minutes a project uses in any consecutive
five-day period MUST NOT exceed the equivalent of 30 full-time runners (216,000
minutes, or 3,600 hours).
Previously, we adjusted `branch-3.5` GitHub Action jobs.
- https://github.com/apache/spark/pull/52854
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual review because the PR builder result is irrelevant to this PR.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52908 from dongjoon-hyun/SPARK-54204.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_branch40.yml | 2 +-
.github/workflows/build_branch40_java21.yml | 2 +-
.github/workflows/build_branch40_maven.yml | 2 +-
.github/workflows/build_branch40_maven_java21.yml | 2 +-
.github/workflows/build_branch40_non_ansi.yml | 2 +-
.github/workflows/build_branch40_python.yml | 2 +-
.github/workflows/build_branch40_python_pypy3.10.yml | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build_branch40.yml
b/.github/workflows/build_branch40.yml
index b0547d0860bc..f3108b9383e3 100644
--- a/.github/workflows/build_branch40.yml
+++ b/.github/workflows/build_branch40.yml
@@ -21,7 +21,7 @@ name: "Build (branch-4.0, Scala 2.13, Hadoop 3, JDK 17)"
on:
schedule:
- - cron: '0 12 * * *'
+ - cron: '0 12 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_java21.yml
b/.github/workflows/build_branch40_java21.yml
index 3545c5fdb5f8..2001447d7555 100644
--- a/.github/workflows/build_branch40_java21.yml
+++ b/.github/workflows/build_branch40_java21.yml
@@ -21,7 +21,7 @@ name: "Build (branch-4.0, Scala 2.13, Hadoop 3, JDK 21)"
on:
schedule:
- - cron: '0 5 * * *'
+ - cron: '0 5 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_maven.yml
b/.github/workflows/build_branch40_maven.yml
index 1523e6e4f49d..17fe4fd2b919 100644
--- a/.github/workflows/build_branch40_maven.yml
+++ b/.github/workflows/build_branch40_maven.yml
@@ -21,7 +21,7 @@ name: "Build / Maven (branch-4.0, Scala 2.13, Hadoop 3, JDK
17)"
on:
schedule:
- - cron: '0 14 * * *'
+ - cron: '0 14 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_maven_java21.yml
b/.github/workflows/build_branch40_maven_java21.yml
index 56eef450dceb..79399783d912 100644
--- a/.github/workflows/build_branch40_maven_java21.yml
+++ b/.github/workflows/build_branch40_maven_java21.yml
@@ -21,7 +21,7 @@ name: "Build / Maven (branch-4.0, Scala 2.13, Hadoop 3, JDK
21)"
on:
schedule:
- - cron: '0 14 * * *'
+ - cron: '0 14 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_non_ansi.yml
b/.github/workflows/build_branch40_non_ansi.yml
index ba9012376c39..7d7741297f6c 100644
--- a/.github/workflows/build_branch40_non_ansi.yml
+++ b/.github/workflows/build_branch40_non_ansi.yml
@@ -21,7 +21,7 @@ name: "Build / Non-ANSI (branch-4.0, Hadoop 3, JDK 17, Scala
2.13)"
on:
schedule:
- - cron: '0 2 * * *'
+ - cron: '0 2 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_python.yml
b/.github/workflows/build_branch40_python.yml
index 98088a3c6505..e2e405b87525 100644
--- a/.github/workflows/build_branch40_python.yml
+++ b/.github/workflows/build_branch40_python.yml
@@ -21,7 +21,7 @@ name: "Build / Python-only (branch-4.0)"
on:
schedule:
- - cron: '0 12 * * *'
+ - cron: '0 12 */2 * *'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/build_branch40_python_pypy3.10.yml
b/.github/workflows/build_branch40_python_pypy3.10.yml
index 6eceb9c7952e..94e2d57e3632 100644
--- a/.github/workflows/build_branch40_python_pypy3.10.yml
+++ b/.github/workflows/build_branch40_python_pypy3.10.yml
@@ -21,7 +21,7 @@ name: "Build / Python-only (branch-4.0, PyPy 3.10)"
on:
schedule:
- - cron: '0 16 * * *'
+ - cron: '0 16 */2 * *'
workflow_dispatch:
jobs:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]