disable debug logging on CI again

This commit is contained in:
kleines Filmröllchen 2025-01-28 11:25:18 +01:00
parent 17b4c334e1
commit eff2adaafc
Signed by: filmroellchen
SSH key fingerprint: SHA256:NarU6J/XgCfEae4rbei0YIdN2pYaYDccarK6R53dnc8

View file

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