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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4f77a06e1f GH-48841: [Release][Package] Add GH_TOKEN to rake build 
step on Linux Packaging jobs (#48842)
4f77a06e1f is described below

commit 4f77a06e1fbdf5f93be4d08477f1814775bcccf3
Author: Raúl Cumplido <[email protected]>
AuthorDate: Tue Jan 13 14:03:11 2026 +0100

    GH-48841: [Release][Package] Add GH_TOKEN to rake build step on Linux 
Packaging jobs (#48842)
    
    ### Rationale for this change
    
    With:
    - https://github.com/apache/arrow/pull/48839
    
    We use `gh release download`. This requires the GH_TOKEN available.
    
    ### What changes are included in this PR?
    
    Add env with `GH_TOKEN`. I've validate the Rake's `sh` should inherit the 
environment variables that are defined on your shell.
    
    ### Are these changes tested?
    
    No
    
    ### Are there any user-facing changes?
    No
    
    * GitHub Issue: #48841
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 .github/workflows/package_linux.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/package_linux.yml 
b/.github/workflows/package_linux.yml
index 1d2ae61f1e..4dc9a70e87 100644
--- a/.github/workflows/package_linux.yml
+++ b/.github/workflows/package_linux.yml
@@ -232,6 +232,8 @@ jobs:
             ${GITHUB_REF_NAME} \
             release_candidate.yml
       - name: Build
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           pushd dev/tasks/linux-packages
           rake docker:pull || :

Reply via email to