@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.738Z") @Stability(value=Experimental) public interface AutoApproveOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AutoApproveOptions.Builder
A builder for
AutoApproveOptions |
static class |
AutoApproveOptions.Jsii$Proxy
An implementation for
AutoApproveOptions |
| Modifier and Type | Method and Description |
|---|---|
static AutoApproveOptions.Builder |
builder() |
default List<String> |
getAllowedUsernames()
(experimental) Only pull requests authored by these Github usernames will be auto-approved.
|
default String |
getLabel()
(experimental) Only pull requests with this label will be auto-approved.
|
default List<String> |
getRunsOn()
(experimental) Github Runner selection labels.
|
String |
getSecret()
(experimental) A GitHub secret name which contains a GitHub Access Token with write permissions for the `pull_request` scope.
|
@Stability(value=Experimental) @NotNull String getSecret()
This token is used to approve pull requests.
Github forbids an identity to approve its own pull request.
If your project produces automated pull requests using the Github default token -
{@link https://docs.github.com/en/actions/reference/authentication-in-a-workflow GITHUB_TOKEN }
depsUpgrade property in
NodeProjectOptions, then you must use a different token here.@Stability(value=Experimental) @Nullable default List<String> getAllowedUsernames()
Default: ['github-bot']
@Stability(value=Experimental) @Nullable default String getLabel()
Default: 'auto-approve'
@Stability(value=Experimental) @Nullable default List<String> getRunsOn()
Default: ["ubuntu-latest"]
@Stability(value=Experimental) static AutoApproveOptions.Builder builder()
AutoApproveOptions.Builder of AutoApproveOptionsCopyright © 2021. All rights reserved.