software.amazon.jsii.JsiiObject.InitializationModeTriggers.Builder, Triggers.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Triggers.Builder builder)
Constructor that initializes the object based on literal property values passed by the
Triggers.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
BranchProtectionRuleOptions |
getBranchProtectionRule()
(experimental) Runs your workflow anytime the branch_protection_rule event occurs.
|
CheckRunOptions |
getCheckRun()
(experimental) Runs your workflow anytime the check_run event occurs.
|
CheckSuiteOptions |
getCheckSuite()
(experimental) Runs your workflow anytime the check_suite event occurs.
|
CreateOptions |
getCreate()
(experimental) Runs your workflow anytime someone creates a branch or tag, which triggers the create event.
|
DeleteOptions |
getDelete()
(experimental) Runs your workflow anytime someone deletes a branch or tag, which triggers the delete event.
|
DeploymentOptions |
getDeployment()
(experimental) Runs your workflow anytime someone creates a deployment, which triggers the deployment event.
|
DeploymentStatusOptions |
getDeploymentStatus()
(experimental) Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event.
|
DiscussionOptions |
getDiscussion()
(experimental) Runs your workflow anytime the discussion event occurs.
|
DiscussionCommentOptions |
getDiscussionComment()
(experimental) Runs your workflow anytime the discussion_comment event occurs.
|
ForkOptions |
getFork()
(experimental) Runs your workflow anytime when someone forks a repository, which triggers the fork event.
|
GollumOptions |
getGollum()
(experimental) Runs your workflow when someone creates or updates a Wiki page, which triggers the gollum event.
|
IssueCommentOptions |
getIssueComment()
(experimental) Runs your workflow anytime the issue_comment event occurs.
|
IssuesOptions |
getIssues()
(experimental) Runs your workflow anytime the issues event occurs.
|
LabelOptions |
getLabel()
(experimental) Runs your workflow anytime the label event occurs.
|
MilestoneOptions |
getMilestone()
(experimental) Runs your workflow anytime the milestone event occurs.
|
PageBuildOptions |
getPageBuild()
(experimental) Runs your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event.
|
ProjectOptions |
getProject()
(experimental) Runs your workflow anytime the project event occurs.
|
ProjectCardOptions |
getProjectCard()
(experimental) Runs your workflow anytime the project_card event occurs.
|
ProjectColumnOptions |
getProjectColumn()
(experimental) Runs your workflow anytime the project_column event occurs.
|
PublicOptions |
getPublicValue()
(experimental) Runs your workflow anytime someone makes a private repository public, which triggers the public event.
|
PullRequestOptions |
getPullRequest()
(experimental) Runs your workflow anytime the pull_request event occurs.
|
PullRequestReviewOptions |
getPullRequestReview()
(experimental) Runs your workflow anytime the pull_request_review event occurs.
|
PullRequestReviewCommentOptions |
getPullRequestReviewComment()
(experimental) Runs your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event.
|
PullRequestTargetOptions |
getPullRequestTarget()
(experimental) This event runs in the context of the base of the pull request, rather than in the merge commit as the pull_request event does.
|
PushOptions |
getPush()
(experimental) Runs your workflow when someone pushes to a repository branch, which triggers the push event.
|
RegistryPackageOptions |
getRegistryPackage()
(experimental) Runs your workflow anytime a package is published or updated.
|
ReleaseOptions |
getRelease()
(experimental) Runs your workflow anytime the release event occurs.
|
RepositoryDispatchOptions |
getRepositoryDispatch()
(experimental) You can use the GitHub API to trigger a webhook event called repository_dispatch when you want to trigger a workflow for activity that happens outside of GitHub.
|
List<CronScheduleOptions> |
getSchedule()
(experimental) You can schedule a workflow to run at specific UTC times using POSIX cron syntax.
|
StatusOptions |
getStatus()
(experimental) Runs your workflow anytime the status of a Git commit changes, which triggers the status event.
|
WatchOptions |
getWatch()
(experimental) Runs your workflow anytime the watch event occurs.
|
WorkflowCallOptions |
getWorkflowCall()
(experimental) Can be called from another workflow.
|
WorkflowDispatchOptions |
getWorkflowDispatch()
(experimental) You can configure custom-defined input properties, default input values, and required inputs for the event directly in your workflow.
|
WorkflowRunOptions |
getWorkflowRun()
(experimental) This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Triggers.Builder builder)
Triggers.Builder.public final BranchProtectionRuleOptions getBranchProtectionRule()
TriggersgetBranchProtectionRule in interface Triggerspublic final CheckRunOptions getCheckRun()
TriggersgetCheckRun in interface Triggerspublic final CheckSuiteOptions getCheckSuite()
TriggersgetCheckSuite in interface Triggerspublic final CreateOptions getCreate()
Triggerspublic final DeleteOptions getDelete()
Triggerspublic final DeploymentOptions getDeployment()
TriggersDeployments created with a commit SHA may not have a Git ref.
getDeployment in interface Triggerspublic final DeploymentStatusOptions getDeploymentStatus()
TriggersDeployments created with a commit SHA may not have a Git ref.
getDeploymentStatus in interface Triggerspublic final DiscussionOptions getDiscussion()
TriggersMore than one activity type triggers this event.
getDiscussion in interface Triggershttps://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussionspublic final DiscussionCommentOptions getDiscussionComment()
TriggersMore than one activity type triggers this event.
getDiscussionComment in interface Triggershttps://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussionspublic final ForkOptions getFork()
Triggerspublic final GollumOptions getGollum()
Triggerspublic final IssueCommentOptions getIssueComment()
TriggersgetIssueComment in interface Triggerspublic final IssuesOptions getIssues()
Triggerspublic final LabelOptions getLabel()
Triggerspublic final MilestoneOptions getMilestone()
TriggersgetMilestone in interface Triggerspublic final PageBuildOptions getPageBuild()
TriggersgetPageBuild in interface Triggerspublic final ProjectOptions getProject()
TriggersgetProject in interface Triggerspublic final ProjectCardOptions getProjectCard()
TriggersgetProjectCard in interface Triggerspublic final ProjectColumnOptions getProjectColumn()
TriggersgetProjectColumn in interface Triggerspublic final PublicOptions getPublicValue()
TriggersgetPublicValue in interface Triggerspublic final PullRequestOptions getPullRequest()
TriggersgetPullRequest in interface Triggerspublic final PullRequestReviewOptions getPullRequestReview()
TriggersgetPullRequestReview in interface Triggerspublic final PullRequestReviewCommentOptions getPullRequestReviewComment()
TriggersgetPullRequestReviewComment in interface Triggerspublic final PullRequestTargetOptions getPullRequestTarget()
TriggersThis prevents executing unsafe workflow code from the head of the pull request that could alter your repository or steal any secrets you use in your workflow. This event allows you to do things like create workflows that label and comment on pull requests based on the contents of the event payload.
WARNING: The pull_request_target event is granted read/write repository
token and can access secrets, even when it is triggered from a fork.
Although the workflow runs in the context of the base of the pull request,
you should make sure that you do not check out, build, or run untrusted
code from the pull request with this event. Additionally, any caches
share the same scope as the base branch, and to help prevent cache
poisoning, you should not save the cache if there is a possibility that
the cache contents were altered.
getPullRequestTarget in interface Triggershttps://securitylab.github.com/research/github-actions-preventing-pwn-requestspublic final PushOptions getPush()
Triggerspublic final RegistryPackageOptions getRegistryPackage()
TriggersgetRegistryPackage in interface Triggerspublic final ReleaseOptions getRelease()
TriggersgetRelease in interface Triggerspublic final RepositoryDispatchOptions getRepositoryDispatch()
TriggersgetRepositoryDispatch in interface Triggerspublic final List<CronScheduleOptions> getSchedule()
TriggersScheduled workflows run on the latest commit on the default or base branch. The shortest interval you can run scheduled workflows is once every 5 minutes.
getSchedule in interface Triggershttps://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07public final StatusOptions getStatus()
Triggerspublic final WatchOptions getWatch()
Triggerspublic final WorkflowCallOptions getWorkflowCall()
TriggersgetWorkflowCall in interface Triggershttps://docs.github.com/en/actions/learn-github-actions/reusing-workflowspublic final WorkflowDispatchOptions getWorkflowDispatch()
TriggersWhen the workflow runs, you can access the input values in the github.event.inputs context.
getWorkflowDispatch in interface Triggerspublic final WorkflowRunOptions getWorkflowRun()
TriggersA workflow run is triggered regardless of the result of the previous workflow.
getWorkflowRun in interface Triggers@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.