Interface PushOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
PullRequestTargetOptions
- All Known Implementing Classes:
PullRequestTargetOptions.Jsii$Proxy,PushOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.62.0 (build 293ac17)", date="2022-07-16T00:20:23.475Z") @Stability(Stable) public interface PushOptions extends software.amazon.jsii.JsiiSerializable
Options for push-like events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPushOptions.BuilderA builder forPushOptionsstatic classPushOptions.Jsii$ProxyAn implementation forPushOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PushOptions.Builderbuilder()default List<String>getBranches()When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.default List<String>getPaths()When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths.default List<String>getTags()When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.
-
-
-
Method Detail
-
getBranches
@Stability(Stable) @Nullable default List<String> getBranches()
When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.For a pull_request event, only branches and tags on the base are evaluated. If you define only tags or only branches, the workflow won't run for events affecting the undefined Git ref.
-
getPaths
@Stability(Stable) @Nullable default List<String> getPaths()
When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths.Path filters are not evaluated for pushes to tags.
-
getTags
@Stability(Stable) @Nullable default List<String> getTags()
When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.For a pull_request event, only branches and tags on the base are evaluated. If you define only tags or only branches, the workflow won't run for events affecting the undefined Git ref.
-
builder
@Stability(Stable) static PushOptions.Builder builder()
- Returns:
- a
PushOptions.BuilderofPushOptions
-
-