@Stability(value=Experimental) @Internal public static final class AutoApproveOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AutoApproveOptions
AutoApproveOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAutoApproveOptions.Builder, AutoApproveOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AutoApproveOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AutoApproveOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAllowedUsernames()
(experimental) Only pull requests authored by these Github usernames will be auto-approved.
|
String |
getLabel()
(experimental) Only pull requests with this label will be auto-approved.
|
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.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AutoApproveOptions.Builder builder)
AutoApproveOptions.Builder.public final String getSecret()
AutoApproveOptionsThis 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.getSecret in interface AutoApproveOptionspublic final List<String> getAllowedUsernames()
AutoApproveOptionsDefault: ['github-bot']
getAllowedUsernames in interface AutoApproveOptionspublic final String getLabel()
AutoApproveOptionsDefault: 'auto-approve'
getLabel in interface AutoApproveOptionspublic final List<String> getRunsOn()
AutoApproveOptionsDefault: ["ubuntu-latest"]
getRunsOn in interface AutoApproveOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.