disable debug logging on CI again
This commit is contained in:
parent
17b4c334e1
commit
eff2adaafc
1 changed files with 1 additions and 2 deletions
|
@ -30,7 +30,6 @@ def collect_user_dirs():
|
||||||
def last_commit_for(dir: Path, ref: git.Reference):
|
def last_commit_for(dir: Path, ref: git.Reference):
|
||||||
"""Returns the Git commit signature for the last commit on this path."""
|
"""Returns the Git commit signature for the last commit on this path."""
|
||||||
last_commit_hash = str(ref.repo.git.rev_list("--max-count=1", action_ref, dir))
|
last_commit_hash = str(ref.repo.git.rev_list("--max-count=1", action_ref, dir))
|
||||||
log.debug(last_commit_hash)
|
|
||||||
return ref.repo.commit(last_commit_hash)
|
return ref.repo.commit(last_commit_hash)
|
||||||
|
|
||||||
|
|
||||||
|
@ -110,7 +109,7 @@ def main():
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
style="{",
|
style="{",
|
||||||
format="[{levelname:8}] {message}",
|
format="[{levelname:8}] {message}",
|
||||||
level=logging.DEBUG #logging.INFO if is_ci else logging.DEBUG,
|
level=logging.INFO if is_ci else logging.DEBUG,
|
||||||
)
|
)
|
||||||
chdir(env.get("GITHUB_WORKSPACE", default="."))
|
chdir(env.get("GITHUB_WORKSPACE", default="."))
|
||||||
if is_ci:
|
if is_ci:
|
||||||
|
|
Loading…
Add table
Reference in a new issue