We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ab74f commit 01e81f8Copy full SHA for 01e81f8
mkdocs_git_revision_date_localized_plugin/ci.py
@@ -36,6 +36,7 @@ def raise_ci_warnings(repo) -> None:
36
37
# Github Actions
38
elif os.getenv("GITHUB_ACTIONS") is not None and n_commits == 1:
39
+ # See also https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
40
# Default is fetch-depth of 1 for github actions
41
logging.warning(
42
"""
@@ -61,7 +62,7 @@ def raise_ci_warnings(repo) -> None:
61
62
)
63
64
# Bitbucket pipelines
- elif os.getenv("CI") is not None and n_commits < 50:
65
+ elif os.getenv("BITBUCKET_BUILD_NUMBER") is not None and n_commits < 50:
66
# Default is fetch-depth of 50 for bitbucket pipelines
67
68
0 commit comments