Skip to content

Commit

Permalink
fix: decrease log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 16, 2023
1 parent 409812f commit c7e4310
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mkdocs_rss_plugin/git_manager/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def raise_ci_warnings(self):
# Gitlab Runners
if environ.get("GITLAB_CI") and n_commits < 50:
# Default is GIT_DEPTH of 50 for gitlab
logger.warning(
logger.info(
"""
Running on a gitlab runner might lead to wrong \
git revision dates due to a shallow git fetch depth. \
Expand All @@ -51,7 +51,7 @@ def raise_ci_warnings(self):
# Github Actions
if environ.get("GITHUB_ACTIONS") and n_commits == 1:
# Default is fetch-depth of 1 for github actions
logger.warning(
logger.info(
"""
Running on github actions might lead to wrong \
git revision dates due to a shallow git fetch depth. \
Expand All @@ -63,7 +63,7 @@ def raise_ci_warnings(self):
# Bitbucket pipelines
if environ.get("CI") and n_commits < 50:
# Default is fetch-depth of 50 for bitbucket pipelines
logger.warning(
logger.info(
"""
Running on bitbucket pipelines might lead to wrong \
git revision dates due to a shallow git fetch depth. \
Expand All @@ -76,7 +76,7 @@ def raise_ci_warnings(self):
# Azure Devops Pipeline
# Does not limit fetch-depth by default
if environ.get("Agent.Source.Git.ShallowFetchDepth", 10e99) < n_commits:
logger.warning(
logger.info(
"""
Running on Azure pipelines \
with limited fetch-depth might lead to wrong git revision dates \
Expand Down

0 comments on commit c7e4310

Please sign in to comment.