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 e2f4f5b9a48a [SPARK-52179][INFRA][FOLLOW-UP] Skip dryruns in forked
repository
e2f4f5b9a48a is described below
commit e2f4f5b9a48af94b20b8224780a8b2c2981da758
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Thu May 22 19:34:38 2025 +0900
[SPARK-52179][INFRA][FOLLOW-UP] Skip dryruns in forked repository
### What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/50911 that
skip dryruns in forked repository.
### Why are the changes needed?
To avoid using unnecessary resources in forked repository.
### Does this PR introduce _any_ user-facing change?
No, dev-only.
### How was this patch tested?
Manually.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #50984 from HyukjinKwon/SPARK-52179-followup2.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/release.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9a43ed0cdbea..954864f26b85 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -76,7 +76,9 @@ jobs:
name: Release Apache Spark (dryrun and RC)
runs-on: ubuntu-latest
# Do not allow dispatching this workflow manually in the main repo.
- if: ${{ !(github.repository == 'apache/spark' && inputs.branch != '' &&
inputs.release-version != '') }}
+ # and skip this workflow in forked repository when running as a
+ # scheduled job (dryrun).
+ if: ${{ (github.repository == 'apache/spark') != (inputs.branch != '' &&
inputs.release-version != '') }}
steps:
- name: Checkout Spark repository
uses: actions/checkout@v4
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]