githubUser top-level property

ConfigVariable<String> githubUser
final

The GitHub username to use when creating releases and making other changes.

If you're using GitHub Actions' GITHUB_TOKEN secret, you should use githubBearerToken instead.

By default, this comes from the GITHUB_USER environment variable.

Implementation

final githubUser = InternalConfigVariable.fn<String>(() =>
    Platform.environment["GITHUB_USER"] ??
    fail("pkg.githubUser or pkg.githubBearerToken must be set to deploy to "
        "GitHub."));