File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mkdocs_git_revision_date_localized_plugin Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def raise_ci_warnings(repo) -> None:
3434 )
3535
3636 # Github Actions
37- if os .getenv ("GITHUB_ACTIONS" ) is not None and n_commits == 1 :
37+ elif os .getenv ("GITHUB_ACTIONS" ) is not None and n_commits == 1 :
3838 # Default is fetch-depth of 1 for github actions
3939 logging .warning (
4040 """
@@ -47,7 +47,7 @@ def raise_ci_warnings(repo) -> None:
4747 )
4848
4949 # Bitbucket pipelines
50- if os .getenv ("CI" ) is not None and n_commits < 50 :
50+ elif os .getenv ("CI" ) is not None and n_commits < 50 :
5151 # Default is fetch-depth of 50 for bitbucket pipelines
5252 logging .warning (
5353 """
@@ -62,7 +62,7 @@ def raise_ci_warnings(repo) -> None:
6262
6363 # Azure Devops Pipeline
6464 # Does not limit fetch-depth by default
65- if int (os .getenv ("Agent.Source.Git.ShallowFetchDepth" , 10e99 )) < n_commits :
65+ elif int (os .getenv ("Agent.Source.Git.ShallowFetchDepth" , 10e99 )) < n_commits :
6666 logging .warning (
6767 """
6868 [git-revision-date-localized-plugin] Running on Azure pipelines with limited
You can’t perform that action at this time.
0 commit comments