assignUser commented on code in PR #41041:
URL: https://github.com/apache/arrow/pull/41041#discussion_r1621445755


##########
dev/tasks/python-minimal-build/github.linux.yml:
##########
@@ -26,7 +26,7 @@ jobs:
     runs-on: ubuntu-latest
 {{ macros.github_set_env(env) }}
     steps:
-      {{ macros.github_checkout_arrow(submodules=false)|indent }}
+      {{ macros.github_checkout_arrow(fetch_depth=0, submodules=false)|indent 
}}

Review Comment:
   The default fetch depth  for `actions/checkout` is 1. That means it will 
checkout the specific commit and not fetch anything else, this is useful when 
dealing with large repos to speed up the checkout but it also leaves out all 
other branches and more importantly in this case tags (which are needed to 
calculate the dev version). 0 will fetch the full repo so all tags and branches 
are available. 



-- 
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