We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be8cfd7 commit 2f872ccCopy full SHA for 2f872cc
1 file changed
buildbot/update_authors.py
@@ -32,9 +32,12 @@ def git_tree_is_clean():
32
33
# unshallow the repo if precommit.ci is running
34
if is_precommit_ci:
35
- output = subprocess.check_output("git fetch --unshallow", shell=True).decode()
+ output = subprocess.check_output("git fetch origin --unshallow", shell=True).decode()
36
print("Unshallowing repo: ", output)
37
38
+ output = subprocess.check_output("git rev-parse --is-shallow-repository", shell=True).decode()
39
+ print("Is shallow repository: ", output)
40
+
41
if is_precommit_ci or git_tree_clean or PRE_COMMIT == None:
42
if PRE_COMMIT == None:
43
print_buildbot_info("Authors check tool")
0 commit comments