You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by as...@apache.org on 2023/04/18 16:09:02 UTC

[arrow] branch main updated: MINOR: [Docs] Fix preview docs job to use crossbow main instead of master (#35204)

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

assignuser 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 ccc9d2c8da MINOR: [Docs] Fix preview docs job to use crossbow main instead of master (#35204)
ccc9d2c8da is described below

commit ccc9d2c8da9220f9ed414ab8c71ed4af92fd5f34
Author: Raúl Cumplido <ra...@gmail.com>
AuthorDate: Tue Apr 18 18:08:54 2023 +0200

    MINOR: [Docs] Fix preview docs job to use crossbow main instead of master (#35204)
    
    ### Rationale for this change
    
    The job is failing with:
    ```
    Fetching the repository
      /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/master*:refs/remotes/origin/master* +refs/tags/master*:refs/tags/master*
      The process '/usr/bin/git' failed with exit code 1
    ```
    See: https://github.com/apache/arrow/pull/35194#issuecomment-1511989544
    
    ### What changes are included in this PR?
    
    Change `master` for `main` on the job.
    
    ### Are these changes tested?
    
    Archery test
    
    Authored-by: Raúl Cumplido <ra...@gmail.com>
    Signed-off-by: Jacob Wujciak-Jens <ja...@wujciak.de>
---
 dev/tasks/docs/github.linux.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/tasks/docs/github.linux.yml b/dev/tasks/docs/github.linux.yml
index ef2c2e9a2a..e3a62f5883 100644
--- a/dev/tasks/docs/github.linux.yml
+++ b/dev/tasks/docs/github.linux.yml
@@ -41,7 +41,7 @@ jobs:
       - name: Checkout Crossbow
         uses: actions/checkout@v3
         with:
-          ref: {{ default_branch|default("master") }}
+          ref: {{ default_branch|default("main") }}
           path: crossbow
           fetch-depth: 1
       - name: Prepare docs