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

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git


The following commit(s) were added to refs/heads/main by this push:
     new c96d8830 ci: check out .asf.yaml before the release docs step (#1578)
c96d8830 is described below

commit c96d8830cccab1bd025004a302998f4e5cfa63c1
Author: Matt Topol <[email protected]>
AuthorDate: Thu Nov 19 16:08:33 2026 -0500

    ci: check out .asf.yaml before the release docs step (#1578)
    
    ### Rationale for this change
    
    The `Publish` job of the Release workflow fails at "Update
    documentation" on every tag push:
    
    ```
    cp: cannot stat '../.asf.yaml': No such file or directory
    ```
    
    The job only checks out the `asf-site` branch (into `site/`), so the
    `.asf.yaml` it tries to copy from the workspace root is never there. The
    GitHub release itself is created before this step, so releases were
    published, but the run has ended in failure for every release since the
    step was added (v18.5.0 through v18.9.0) and `asf-site` never received
    the updated `.asf.yaml`.
    
    ### What changes are included in this PR?
    
    A sparse checkout of just `.asf.yaml` from the tag as the first step of
    the job.
    
    ### Are these changes tested?
    
    The workflow only runs on release tags. I reproduced the steps by hand:
    a sparse checkout of `v18.9.0` leaves only `.asf.yaml` in the workspace,
    and copying it into an `asf-site` checkout stages a 4-line change to
    that file.
    
    ### Are there any user-facing changes?
    
    No. The next release will sync `asf-site`'s `.asf.yaml` with the one on
    the tag.
---
 .github/workflows/release.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a9d90a15..7e2ea60d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -32,6 +32,12 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 5
     steps:
+      - name: Checkout .asf.yaml
+        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v5.0.1
+        with:
+          sparse-checkout: .asf.yaml
+          sparse-checkout-cone-mode: false
+          persist-credentials: false
       - name: Download RC contents
         run: |
           latest_rc_tag=$(gh release list \

Reply via email to