zeroshade opened a new pull request, #1578:
URL: https://github.com/apache/arrow-go/pull/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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to