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

github-merge-queue[bot] pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new a65a573a49ff fix(ci): set KUBECONFIG from a step in Spark Connect live 
(#20597)
a65a573a49ff is described below

commit a65a573a49ff5072c3bb4729a806de0fa5b41f50
Author: voonhous <[email protected]>
AuthorDate: Wed Nov 11 17:00:43 2026 +0000

    fix(ci): set KUBECONFIG from a step in Spark Connect live (#20597)
    
    The runner context is not available in job-level env, so GitHub
    rejects hudi_spark_connect_live.yml as an invalid workflow file and
    records a failed run for it on every push, including merge-queue
    branches and contributor forks. Set KUBECONFIG through GITHUB_ENV in
    the first step instead.
---
 .github/workflows/hudi_spark_connect_live.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/hudi_spark_connect_live.yml 
b/.github/workflows/hudi_spark_connect_live.yml
index 924af762a5c1..87ed3560ca67 100644
--- a/.github/workflows/hudi_spark_connect_live.yml
+++ b/.github/workflows/hudi_spark_connect_live.yml
@@ -11,10 +11,11 @@ jobs:
   live-acceptance:
     runs-on: ubuntu-24.04
     timeout-minutes: 45
-    env:
-      KUBECONFIG: ${{ runner.temp }}/hudi-connect-kubeconfig
     steps:
       - uses: actions/checkout@v5
+      # The runner context is not available in job-level env, so set 
KUBECONFIG from a step.
+      - name: Set KUBECONFIG
+        run: echo "KUBECONFIG=$RUNNER_TEMP/hudi-connect-kubeconfig" >> 
"$GITHUB_ENV"
       - name: Check runner tools
         run: |
           set -euo pipefail

Reply via email to