githubPassword top-level property
The GitHub password or authentication token to use when creating releases and making other changes.
Do not check this in directly. This should only come from secure sources.
This can be either the password itself, a personal access token, or an
OAuth token. If you're using GitHub Actions' GITHUB_TOKEN
secret, you
should use githubBearerToken instead.
By default, this comes from the GITHUB_PASSWORD
environment variable if it
exists, or GITHUB_TOKEN
otherwise.
Implementation
final githubPassword = InternalConfigVariable.fn<String>(() =>
Platform.environment["GITHUB_PASSWORD"] ??
Platform.environment["GITHUB_TOKEN"] ??
fail("pkg.githubPassword or pkg.githubBearerToken must be set to deploy to "
"GitHub."));