Package io.github.cdklabs.projen.github
Interface GitHubOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GitHubOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.070Z") @Stability(Experimental) public interface GitHubOptions extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGitHubOptions.BuilderA builder forGitHubOptionsstatic classGitHubOptions.Jsii$ProxyAn implementation forGitHubOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static GitHubOptions.Builderbuilder()default BooleangetDownloadLfs()(experimental) Download files in LFS in workflows.default BooleangetMergify()(experimental) Whether mergify should be enabled on this repository or not.default MergifyOptionsgetMergifyOptions()(experimental) Options for Mergify.default GithubCredentialsgetProjenCredentials()(experimental) Choose a method of providing GitHub API access for projen workflows.default StringgetProjenTokenSecret()Deprecated.useprojenCredentialsdefault BooleangetPullRequestLint()(experimental) Add a workflow that performs basic checks for pull requests, like validating that PRs follow Conventional Commits.default PullRequestLintOptionsgetPullRequestLintOptions()(experimental) Options for configuring a pull request linter.default BooleangetWorkflows()(experimental) Enables GitHub workflows.
-
-
-
Method Detail
-
getDownloadLfs
@Stability(Experimental) @Nullable default Boolean getDownloadLfs()
(experimental) Download files in LFS in workflows.Default: true if the associated project has `lfsPatterns`, `false` otherwise
-
getMergify
@Stability(Experimental) @Nullable default Boolean getMergify()
(experimental) Whether mergify should be enabled on this repository or not.Default: true
-
getMergifyOptions
@Stability(Experimental) @Nullable default MergifyOptions getMergifyOptions()
(experimental) Options for Mergify.Default: - default options
-
getProjenCredentials
@Stability(Experimental) @Nullable default GithubCredentials getProjenCredentials()
(experimental) Choose a method of providing GitHub API access for projen workflows.Default: - use a personal access token named PROJEN_GITHUB_TOKEN
-
getProjenTokenSecret
@Stability(Deprecated) @Deprecated @Nullable default String getProjenTokenSecret()
Deprecated.- use
projenCredentials
(deprecated) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.This token needs to have the
repo,workflowsandpackagesscope.Default: "PROJEN_GITHUB_TOKEN"
- use
-
getPullRequestLint
@Stability(Experimental) @Nullable default Boolean getPullRequestLint()
(experimental) Add a workflow that performs basic checks for pull requests, like validating that PRs follow Conventional Commits.Default: true
-
getPullRequestLintOptions
@Stability(Experimental) @Nullable default PullRequestLintOptions getPullRequestLintOptions()
(experimental) Options for configuring a pull request linter.Default: - see defaults in `PullRequestLintOptions`
-
getWorkflows
@Stability(Experimental) @Nullable default Boolean getWorkflows()
(experimental) Enables GitHub workflows.If this is set to
false, workflows will not be created.Default: true
-
builder
@Stability(Experimental) static GitHubOptions.Builder builder()
- Returns:
- a
GitHubOptions.BuilderofGitHubOptions
-
-