This is an automated email from the ASF dual-hosted git repository.
gurwls223 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 d411b28ed86e [SPARK-52547][INFRA][FOLLOW-UP] Set default GIT_BRANCH
even for scheduled jobs
d411b28ed86e is described below
commit d411b28ed86e1b4638402119492ab134739cd81d
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Fri Jun 27 12:45:44 2025 +0900
[SPARK-52547][INFRA][FOLLOW-UP] Set default GIT_BRANCH even for scheduled
jobs
### What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/51245 that
sets default GIT_BRANCH even for scheduled jobs.
### Why are the changes needed?
The main PR only fixes the case when the workflow is dispatched with
inputs. For scheduled jobs, it does not use default values even so it has to be
handled separately.
### Does this PR introduce _any_ user-facing change?
No, dev-only.
### How was this patch tested?
Manually via bash.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #51299 from HyukjinKwon/SPARK-52547-followup2.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/release.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1e03f6afa830..024eacf5aab6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -153,7 +153,7 @@ jobs:
fi
export ASF_PASSWORD GPG_PRIVATE_KEY GPG_PASSPHRASE ASF_USERNAME
- export GIT_BRANCH
+ export GIT_BRANCH="${GIT_BRANCH:-master}"
[ -n "$RELEASE_VERSION" ] && export RELEASE_VERSION
if [ "$DRYRUN_MODE" = "1" ]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]