Interface PushOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
PullRequestOptions,PullRequestTargetOptions
- All Known Implementing Classes:
PullRequestOptions.Jsii$Proxy,PullRequestTargetOptions.Jsii$Proxy,PushOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.110Z") @Stability(Experimental) public interface PushOptions extends software.amazon.jsii.JsiiSerializable
(experimental) 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()(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.default List<String>getPaths()(experimental) When using the push, pull_request and pull_request_target 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()(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.
-
-
-
Method Detail
-
getBranches
@Stability(Experimental) @Nullable default List<String> getBranches()
(experimental) When using the push, pull_request and pull_request_target 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(Experimental) @Nullable default List<String> getPaths()
(experimental) When using the push, pull_request and pull_request_target 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(Experimental) @Nullable default List<String> getTags()
(experimental) When using the push, pull_request and pull_request_target 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(Experimental) static PushOptions.Builder builder()
- Returns:
- a
PushOptions.BuilderofPushOptions
-
-