Check only for GITLAB_CI variable

This commit is contained in:
Luc Perkins 2024-05-16 15:04:40 -03:00
parent 1ee5b1eec8
commit c1c6574b30
No known key found for this signature in database
GPG key ID: 16DB1108FB591835

View file

@ -13,7 +13,7 @@ impl Environment {
return Environment::GitHubActions;
}
if env_var_is_true("CI") && env_var_is_true("GITLAB_CI") {
if env_var_is_true("GITLAB_CI") {
return Environment::GitLabCI;
}