Class Triggers.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.workflows.Triggers.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.github.workflows.Triggers
Triggers.Builder, Triggers.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Triggers.Builder builder)Constructor that initializes the object based on literal property values passed by theTriggers.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BranchProtectionRuleOptionsgetBranchProtectionRule()(experimental) Runs your workflow anytime the branch_protection_rule event occurs.CheckRunOptionsgetCheckRun()(experimental) Runs your workflow anytime the check_run event occurs.CheckSuiteOptionsgetCheckSuite()(experimental) Runs your workflow anytime the check_suite event occurs.CreateOptionsgetCreate()(experimental) Runs your workflow anytime someone creates a branch or tag, which triggers the create event.DeleteOptionsgetDelete()(experimental) Runs your workflow anytime someone deletes a branch or tag, which triggers the delete event.DeploymentOptionsgetDeployment()(experimental) Runs your workflow anytime someone creates a deployment, which triggers the deployment event.DeploymentStatusOptionsgetDeploymentStatus()(experimental) Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event.DiscussionOptionsgetDiscussion()(experimental) Runs your workflow anytime the discussion event occurs.DiscussionCommentOptionsgetDiscussionComment()(experimental) Runs your workflow anytime the discussion_comment event occurs.ForkOptionsgetFork()(experimental) Runs your workflow anytime when someone forks a repository, which triggers the fork event.GollumOptionsgetGollum()(experimental) Runs your workflow when someone creates or updates a Wiki page, which triggers the gollum event.IssueCommentOptionsgetIssueComment()(experimental) Runs your workflow anytime the issue_comment event occurs.IssuesOptionsgetIssues()(experimental) Runs your workflow anytime the issues event occurs.LabelOptionsgetLabel()(experimental) Runs your workflow anytime the label event occurs.MergeGroupOptionsgetMergeGroup()(experimental) Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group.MilestoneOptionsgetMilestone()(experimental) Runs your workflow anytime the milestone event occurs.PageBuildOptionsgetPageBuild()(experimental) Runs your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event.ProjectOptionsgetProject()(experimental) Runs your workflow anytime the project event occurs.ProjectCardOptionsgetProjectCard()(experimental) Runs your workflow anytime the project_card event occurs.ProjectColumnOptionsgetProjectColumn()(experimental) Runs your workflow anytime the project_column event occurs.PublicOptionsgetPublicValue()(experimental) Runs your workflow anytime someone makes a private repository public, which triggers the public event.PullRequestOptionsgetPullRequest()(experimental) Runs your workflow anytime the pull_request event occurs.PullRequestReviewOptionsgetPullRequestReview()(experimental) Runs your workflow anytime the pull_request_review event occurs.PullRequestReviewCommentOptionsgetPullRequestReviewComment()(experimental) Runs your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event.PullRequestTargetOptionsgetPullRequestTarget()(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.PushOptionsgetPush()(experimental) Runs your workflow when someone pushes to a repository branch, which triggers the push event.RegistryPackageOptionsgetRegistryPackage()(experimental) Runs your workflow anytime a package is published or updated.ReleaseOptionsgetRelease()(experimental) Runs your workflow anytime the release event occurs.RepositoryDispatchOptionsgetRepositoryDispatch()(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.StatusOptionsgetStatus()(experimental) Runs your workflow anytime the status of a Git commit changes, which triggers the status event.WatchOptionsgetWatch()(experimental) Runs your workflow anytime the watch event occurs.WorkflowCallOptionsgetWorkflowCall()(experimental) Can be called from another workflow.WorkflowDispatchOptionsgetWorkflowDispatch()(experimental) You can configure custom-defined input properties, default input values, and required inputs for the event directly in your workflow.WorkflowRunOptionsgetWorkflowRun()(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.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(Triggers.Builder builder)
Constructor that initializes the object based on literal property values passed by theTriggers.Builder.
-
-
Method Detail
-
getBranchProtectionRule
public final BranchProtectionRuleOptions getBranchProtectionRule()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the branch_protection_rule event occurs.- Specified by:
getBranchProtectionRulein interfaceTriggers
-
getCheckRun
public final CheckRunOptions getCheckRun()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the check_run event occurs.- Specified by:
getCheckRunin interfaceTriggers
-
getCheckSuite
public final CheckSuiteOptions getCheckSuite()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the check_suite event occurs.- Specified by:
getCheckSuitein interfaceTriggers
-
getCreate
public final CreateOptions getCreate()
Description copied from interface:Triggers(experimental) Runs your workflow anytime someone creates a branch or tag, which triggers the create event.
-
getDelete
public final DeleteOptions getDelete()
Description copied from interface:Triggers(experimental) Runs your workflow anytime someone deletes a branch or tag, which triggers the delete event.
-
getDeployment
public final DeploymentOptions getDeployment()
Description copied from interface:Triggers(experimental) Runs your workflow anytime someone creates a deployment, which triggers the deployment event.Deployments created with a commit SHA may not have a Git ref.
- Specified by:
getDeploymentin interfaceTriggers
-
getDeploymentStatus
public final DeploymentStatusOptions getDeploymentStatus()
Description copied from interface:Triggers(experimental) Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event.Deployments created with a commit SHA may not have a Git ref.
- Specified by:
getDeploymentStatusin interfaceTriggers
-
getDiscussion
public final DiscussionOptions getDiscussion()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the discussion event occurs.More than one activity type triggers this event.
- Specified by:
getDiscussionin interfaceTriggers- See Also:
- https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions
-
getDiscussionComment
public final DiscussionCommentOptions getDiscussionComment()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the discussion_comment event occurs.More than one activity type triggers this event.
- Specified by:
getDiscussionCommentin interfaceTriggers- See Also:
- https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions
-
getFork
public final ForkOptions getFork()
Description copied from interface:Triggers(experimental) Runs your workflow anytime when someone forks a repository, which triggers the fork event.
-
getGollum
public final GollumOptions getGollum()
Description copied from interface:Triggers(experimental) Runs your workflow when someone creates or updates a Wiki page, which triggers the gollum event.
-
getIssueComment
public final IssueCommentOptions getIssueComment()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the issue_comment event occurs.- Specified by:
getIssueCommentin interfaceTriggers
-
getIssues
public final IssuesOptions getIssues()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the issues event occurs.
-
getLabel
public final LabelOptions getLabel()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the label event occurs.
-
getMergeGroup
public final MergeGroupOptions getMergeGroup()
Description copied from interface:Triggers(experimental) Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group.- Specified by:
getMergeGroupin interfaceTriggers
-
getMilestone
public final MilestoneOptions getMilestone()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the milestone event occurs.- Specified by:
getMilestonein interfaceTriggers
-
getPageBuild
public final PageBuildOptions getPageBuild()
Description copied from interface:Triggers(experimental) Runs your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event.- Specified by:
getPageBuildin interfaceTriggers
-
getProject
public final ProjectOptions getProject()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the project event occurs.- Specified by:
getProjectin interfaceTriggers
-
getProjectCard
public final ProjectCardOptions getProjectCard()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the project_card event occurs.- Specified by:
getProjectCardin interfaceTriggers
-
getProjectColumn
public final ProjectColumnOptions getProjectColumn()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the project_column event occurs.- Specified by:
getProjectColumnin interfaceTriggers
-
getPublicValue
public final PublicOptions getPublicValue()
Description copied from interface:Triggers(experimental) Runs your workflow anytime someone makes a private repository public, which triggers the public event.- Specified by:
getPublicValuein interfaceTriggers
-
getPullRequest
public final PullRequestOptions getPullRequest()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the pull_request event occurs.- Specified by:
getPullRequestin interfaceTriggers
-
getPullRequestReview
public final PullRequestReviewOptions getPullRequestReview()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the pull_request_review event occurs.- Specified by:
getPullRequestReviewin interfaceTriggers
-
getPullRequestReviewComment
public final PullRequestReviewCommentOptions getPullRequestReviewComment()
Description copied from interface:Triggers(experimental) Runs your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event.- Specified by:
getPullRequestReviewCommentin interfaceTriggers
-
getPullRequestTarget
public final PullRequestTargetOptions getPullRequestTarget()
Description copied from interface:Triggers(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.This 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_targetevent 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.- Specified by:
getPullRequestTargetin interfaceTriggers- See Also:
- https://securitylab.github.com/research/github-actions-preventing-pwn-requests
-
getPush
public final PushOptions getPush()
Description copied from interface:Triggers(experimental) Runs your workflow when someone pushes to a repository branch, which triggers the push event.
-
getRegistryPackage
public final RegistryPackageOptions getRegistryPackage()
Description copied from interface:Triggers(experimental) Runs your workflow anytime a package is published or updated.- Specified by:
getRegistryPackagein interfaceTriggers
-
getRelease
public final ReleaseOptions getRelease()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the release event occurs.- Specified by:
getReleasein interfaceTriggers
-
getRepositoryDispatch
public final RepositoryDispatchOptions getRepositoryDispatch()
Description copied from interface:Triggers(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.- Specified by:
getRepositoryDispatchin interfaceTriggers
-
getSchedule
public final List<CronScheduleOptions> getSchedule()
Description copied from interface:Triggers(experimental) You can schedule a workflow to run at specific UTC times using POSIX cron syntax.Scheduled 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.
- Specified by:
getSchedulein interfaceTriggers- See Also:
- https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
-
getStatus
public final StatusOptions getStatus()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the status of a Git commit changes, which triggers the status event.
-
getWatch
public final WatchOptions getWatch()
Description copied from interface:Triggers(experimental) Runs your workflow anytime the watch event occurs.
-
getWorkflowCall
public final WorkflowCallOptions getWorkflowCall()
Description copied from interface:Triggers(experimental) Can be called from another workflow.- Specified by:
getWorkflowCallin interfaceTriggers- See Also:
- https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
-
getWorkflowDispatch
public final WorkflowDispatchOptions getWorkflowDispatch()
Description copied from interface:Triggers(experimental) You can configure custom-defined input properties, default input values, and required inputs for the event directly in your workflow.When the workflow runs, you can access the input values in the github.event.inputs context.
- Specified by:
getWorkflowDispatchin interfaceTriggers
-
getWorkflowRun
public final WorkflowRunOptions getWorkflowRun()
Description copied from interface:Triggers(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.A workflow run is triggered regardless of the result of the previous workflow.
- Specified by:
getWorkflowRunin interfaceTriggers
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-