@Override
  public CiConfiguration loadConfiguration() {
    String revision = system.envVariable(PROPERTY_COMMIT);
    if (isEmpty(revision)) {
      LOG.warn("Missing environment variable " + PROPERTY_COMMIT);
    }

    String githubRepository = system.envVariable(GITHUB_REPOSITORY_ENV_VAR);
    String githubApiUrl = system.envVariable(GITHUB_API_URL_ENV_VAR);
    if (isEmpty(githubRepository) || isEmpty(githubApiUrl)) {
      LOG.warn("Missing or empty environment variables: {}, and/or {}", GITHUB_API_URL_ENV_VAR, GITHUB_REPOSITORY_ENV_VAR);
      return new CiConfigurationImpl(revision, getName());
    }
    return new CiConfigurationImpl(revision, getName(), new DevOpsPlatformInfo(githubApiUrl, githubRepository));

  }
@Test
  public void loadConfiguration() {
    setEnvVariable("GITHUB_ACTION", "build");
    setEnvVariable("GITHUB_SHA", "abd12fc");
    setEnvVariable("GITHUB_API_URL", GITHUB_API_URL);
    setEnvVariable("GITHUB_REPOSITORY", REPOSITORY);

    CiConfiguration configuration = underTest.loadConfiguration();
    assertThat(configuration.getScmRevision()).hasValue("abd12fc");
    checkDevOpsPlatformInfo(configuration);
  }