package
0.0.0-20231214144635-a707781cbb24
Repository: https://github.com/khulnasoft/codebase.git
Documentation: pkg.go.dev
# Functions
GetBuildInfo returns BuildInfo from environment variables.
GetGerritBuildInfo returns Gerrit specific build info.
HasReadOnlyPermissionGitHubToken returns true if codebase is running in GitHub Actions and running for PullRequests from forked repository with read-only token.
IsInBitbucketPipe returns true if codebase is running in a Bitbucket Pipe.
IsInBitbucketPipeline returns true if codebase is running in Bitbucket Pipelines.
IsInGitHubAction returns true if codebase is running in GitHub Actions.
LoadGitHubEvent loads GitHubEvent if it's running in GitHub Actions.
# Structs
BuildInfo represents build information about GitHub or GitLab project.
https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables.
No description provided by the author
No description provided by the author