pulls

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ReactionTargetIssueComment  = "issueComment"
	ReactionTargetReviewComment = "reviewComment"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPullRequestReviewers added in v0.26.0

type AddPullRequestReviewers struct{}

func (*AddPullRequestReviewers) Cancel added in v0.26.0

func (*AddPullRequestReviewers) Cleanup added in v0.26.0

func (*AddPullRequestReviewers) Color added in v0.26.0

func (c *AddPullRequestReviewers) Color() string

func (*AddPullRequestReviewers) Configuration added in v0.26.0

func (c *AddPullRequestReviewers) Configuration() []configuration.Field

func (*AddPullRequestReviewers) Description added in v0.26.0

func (c *AddPullRequestReviewers) Description() string

func (*AddPullRequestReviewers) Documentation added in v0.26.0

func (c *AddPullRequestReviewers) Documentation() string

func (*AddPullRequestReviewers) ExampleOutput added in v0.26.0

func (c *AddPullRequestReviewers) ExampleOutput() map[string]any

func (*AddPullRequestReviewers) Execute added in v0.26.0

func (*AddPullRequestReviewers) HandleHook added in v0.26.0

func (*AddPullRequestReviewers) HandleWebhook added in v0.26.0

func (*AddPullRequestReviewers) Hooks added in v0.26.0

func (c *AddPullRequestReviewers) Hooks() []core.Hook

func (*AddPullRequestReviewers) Icon added in v0.26.0

func (c *AddPullRequestReviewers) Icon() string

func (*AddPullRequestReviewers) Label added in v0.26.0

func (c *AddPullRequestReviewers) Label() string

func (*AddPullRequestReviewers) Name added in v0.26.0

func (c *AddPullRequestReviewers) Name() string

func (*AddPullRequestReviewers) OutputChannels added in v0.26.0

func (c *AddPullRequestReviewers) OutputChannels(configuration any) []core.OutputChannel

func (*AddPullRequestReviewers) ProcessQueueItem added in v0.26.0

func (c *AddPullRequestReviewers) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*AddPullRequestReviewers) Setup added in v0.26.0

type AddPullRequestReviewersConfiguration added in v0.26.0

type AddPullRequestReviewersConfiguration struct {
	Repository    string   `mapstructure:"repository" json:"repository"`
	PullNumber    any      `mapstructure:"pullNumber" json:"pullNumber"`
	Reviewers     []string `mapstructure:"reviewers" json:"reviewers"`
	TeamReviewers []string `mapstructure:"teamReviewers" json:"teamReviewers"`
}

type AddReaction

type AddReaction struct{}

func (*AddReaction) Cancel

func (c *AddReaction) Cancel(ctx core.ExecutionContext) error

func (*AddReaction) Cleanup

func (c *AddReaction) Cleanup(ctx core.SetupContext) error

func (*AddReaction) Color

func (c *AddReaction) Color() string

func (*AddReaction) Configuration

func (c *AddReaction) Configuration() []configuration.Field

func (*AddReaction) Description

func (c *AddReaction) Description() string

func (*AddReaction) Documentation

func (c *AddReaction) Documentation() string

func (*AddReaction) ExampleOutput

func (c *AddReaction) ExampleOutput() map[string]any

func (*AddReaction) Execute

func (c *AddReaction) Execute(ctx core.ExecutionContext) error

func (*AddReaction) HandleHook

func (c *AddReaction) HandleHook(ctx core.ActionHookContext) error

func (*AddReaction) HandleWebhook

func (*AddReaction) Hooks

func (c *AddReaction) Hooks() []core.Hook

func (*AddReaction) Icon

func (c *AddReaction) Icon() string

func (*AddReaction) Label

func (c *AddReaction) Label() string

func (*AddReaction) Name

func (c *AddReaction) Name() string

func (*AddReaction) OutputChannels

func (c *AddReaction) OutputChannels(configuration any) []core.OutputChannel

func (*AddReaction) ProcessQueueItem

func (c *AddReaction) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*AddReaction) Setup

func (c *AddReaction) Setup(ctx core.SetupContext) error

type AddReactionConfiguration

type AddReactionConfiguration struct {
	Repository string `json:"repository" mapstructure:"repository"`
	Target     string `json:"target" mapstructure:"target"`
	CommentID  string `json:"commentId" mapstructure:"commentId"`
	Content    string `json:"content" mapstructure:"content"`
}

type CreatePullRequest added in v0.20.0

type CreatePullRequest struct{}

func (*CreatePullRequest) Cancel added in v0.20.0

func (*CreatePullRequest) Cleanup added in v0.20.0

func (c *CreatePullRequest) Cleanup(ctx core.SetupContext) error

func (*CreatePullRequest) Color added in v0.20.0

func (c *CreatePullRequest) Color() string

func (*CreatePullRequest) Configuration added in v0.20.0

func (c *CreatePullRequest) Configuration() []configuration.Field

func (*CreatePullRequest) Description added in v0.20.0

func (c *CreatePullRequest) Description() string

func (*CreatePullRequest) Documentation added in v0.20.0

func (c *CreatePullRequest) Documentation() string

func (*CreatePullRequest) ExampleOutput added in v0.20.0

func (c *CreatePullRequest) ExampleOutput() map[string]any

func (*CreatePullRequest) Execute added in v0.20.0

func (c *CreatePullRequest) Execute(ctx core.ExecutionContext) error

func (*CreatePullRequest) HandleHook added in v0.20.0

func (c *CreatePullRequest) HandleHook(ctx core.ActionHookContext) error

func (*CreatePullRequest) HandleWebhook added in v0.20.0

func (*CreatePullRequest) Hooks added in v0.20.0

func (c *CreatePullRequest) Hooks() []core.Hook

func (*CreatePullRequest) Icon added in v0.20.0

func (c *CreatePullRequest) Icon() string

func (*CreatePullRequest) Label added in v0.20.0

func (c *CreatePullRequest) Label() string

func (*CreatePullRequest) Name added in v0.20.0

func (c *CreatePullRequest) Name() string

func (*CreatePullRequest) OutputChannels added in v0.20.0

func (c *CreatePullRequest) OutputChannels(configuration any) []core.OutputChannel

func (*CreatePullRequest) ProcessQueueItem added in v0.20.0

func (c *CreatePullRequest) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*CreatePullRequest) Setup added in v0.20.0

func (c *CreatePullRequest) Setup(ctx core.SetupContext) error

type CreatePullRequestConfiguration added in v0.20.0

type CreatePullRequestConfiguration struct {
	Repository string `mapstructure:"repository" json:"repository"`
	Head       string `mapstructure:"head" json:"head"`
	Base       string `mapstructure:"base" json:"base"`
	Title      string `mapstructure:"title" json:"title"`
	Body       string `mapstructure:"body" json:"body"`
	Draft      bool   `mapstructure:"draft" json:"draft"`
}

type CreateReview

type CreateReview struct{}

func (*CreateReview) Cancel

func (c *CreateReview) Cancel(ctx core.ExecutionContext) error

func (*CreateReview) Cleanup

func (c *CreateReview) Cleanup(ctx core.SetupContext) error

func (*CreateReview) Color

func (c *CreateReview) Color() string

func (*CreateReview) Configuration

func (c *CreateReview) Configuration() []configuration.Field

func (*CreateReview) Description

func (c *CreateReview) Description() string

func (*CreateReview) Documentation

func (c *CreateReview) Documentation() string

func (*CreateReview) ExampleOutput

func (c *CreateReview) ExampleOutput() map[string]any

func (*CreateReview) Execute

func (c *CreateReview) Execute(ctx core.ExecutionContext) error

func (*CreateReview) HandleHook

func (c *CreateReview) HandleHook(ctx core.ActionHookContext) error

func (*CreateReview) HandleWebhook

func (*CreateReview) Hooks

func (c *CreateReview) Hooks() []core.Hook

func (*CreateReview) Icon

func (c *CreateReview) Icon() string

func (*CreateReview) Label

func (c *CreateReview) Label() string

func (*CreateReview) Name

func (c *CreateReview) Name() string

func (*CreateReview) OutputChannels

func (c *CreateReview) OutputChannels(configuration any) []core.OutputChannel

func (*CreateReview) ProcessQueueItem

func (c *CreateReview) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*CreateReview) Setup

func (c *CreateReview) Setup(ctx core.SetupContext) error

type CreateReviewConfiguration

type CreateReviewConfiguration struct {
	Repository string  `mapstructure:"repository" json:"repository"`
	PullNumber string  `mapstructure:"pullNumber" json:"pullNumber"`
	Event      string  `mapstructure:"event" json:"event"`
	Body       *string `mapstructure:"body,omitempty" json:"body,omitempty"`
}

type MarkPullRequestReadyForReview added in v0.29.0

type MarkPullRequestReadyForReview struct{}

func (*MarkPullRequestReadyForReview) Cancel added in v0.29.0

func (*MarkPullRequestReadyForReview) Cleanup added in v0.29.0

func (*MarkPullRequestReadyForReview) Color added in v0.29.0

func (*MarkPullRequestReadyForReview) Configuration added in v0.29.0

func (c *MarkPullRequestReadyForReview) Configuration() []configuration.Field

func (*MarkPullRequestReadyForReview) Description added in v0.29.0

func (c *MarkPullRequestReadyForReview) Description() string

func (*MarkPullRequestReadyForReview) Documentation added in v0.29.0

func (c *MarkPullRequestReadyForReview) Documentation() string

func (*MarkPullRequestReadyForReview) ExampleOutput added in v0.29.0

func (c *MarkPullRequestReadyForReview) ExampleOutput() map[string]any

func (*MarkPullRequestReadyForReview) Execute added in v0.29.0

func (*MarkPullRequestReadyForReview) HandleHook added in v0.29.0

func (*MarkPullRequestReadyForReview) HandleWebhook added in v0.29.0

func (*MarkPullRequestReadyForReview) Hooks added in v0.29.0

func (*MarkPullRequestReadyForReview) Icon added in v0.29.0

func (*MarkPullRequestReadyForReview) Label added in v0.29.0

func (*MarkPullRequestReadyForReview) Name added in v0.29.0

func (*MarkPullRequestReadyForReview) OutputChannels added in v0.29.0

func (c *MarkPullRequestReadyForReview) OutputChannels(configuration any) []core.OutputChannel

func (*MarkPullRequestReadyForReview) ProcessQueueItem added in v0.29.0

func (*MarkPullRequestReadyForReview) Setup added in v0.29.0

type MarkPullRequestReadyForReviewConfiguration added in v0.29.0

type MarkPullRequestReadyForReviewConfiguration struct {
	Repository string `mapstructure:"repository" json:"repository"`
	PullNumber any    `mapstructure:"pullNumber" json:"pullNumber"`
}

type MergePullRequest added in v0.25.0

type MergePullRequest struct{}

func (*MergePullRequest) Cancel added in v0.25.0

func (*MergePullRequest) Cleanup added in v0.25.0

func (c *MergePullRequest) Cleanup(ctx core.SetupContext) error

func (*MergePullRequest) Color added in v0.25.0

func (c *MergePullRequest) Color() string

func (*MergePullRequest) Configuration added in v0.25.0

func (c *MergePullRequest) Configuration() []configuration.Field

func (*MergePullRequest) Description added in v0.25.0

func (c *MergePullRequest) Description() string

func (*MergePullRequest) Documentation added in v0.25.0

func (c *MergePullRequest) Documentation() string

func (*MergePullRequest) ExampleOutput added in v0.25.0

func (c *MergePullRequest) ExampleOutput() map[string]any

func (*MergePullRequest) Execute added in v0.25.0

func (c *MergePullRequest) Execute(ctx core.ExecutionContext) error

func (*MergePullRequest) HandleHook added in v0.25.0

func (c *MergePullRequest) HandleHook(ctx core.ActionHookContext) error

func (*MergePullRequest) HandleWebhook added in v0.25.0

func (*MergePullRequest) Hooks added in v0.25.0

func (c *MergePullRequest) Hooks() []core.Hook

func (*MergePullRequest) Icon added in v0.25.0

func (c *MergePullRequest) Icon() string

func (*MergePullRequest) Label added in v0.25.0

func (c *MergePullRequest) Label() string

func (*MergePullRequest) Name added in v0.25.0

func (c *MergePullRequest) Name() string

func (*MergePullRequest) OutputChannels added in v0.25.0

func (c *MergePullRequest) OutputChannels(configuration any) []core.OutputChannel

func (*MergePullRequest) ProcessQueueItem added in v0.25.0

func (c *MergePullRequest) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*MergePullRequest) Setup added in v0.25.0

func (c *MergePullRequest) Setup(ctx core.SetupContext) error

type MergePullRequestConfiguration added in v0.25.0

type MergePullRequestConfiguration struct {
	Repository    string `mapstructure:"repository" json:"repository"`
	PullNumber    any    `mapstructure:"pullNumber" json:"pullNumber"`
	MergeMethod   string `mapstructure:"mergeMethod" json:"mergeMethod"`
	SHA           string `mapstructure:"sha" json:"sha"`
	CommitTitle   string `mapstructure:"commitTitle" json:"commitTitle"`
	CommitMessage string `mapstructure:"commitMessage" json:"commitMessage"`
}

type OnPRComment

type OnPRComment struct{}

func (*OnPRComment) Cleanup

func (p *OnPRComment) Cleanup(ctx core.TriggerContext) error

func (*OnPRComment) Color

func (p *OnPRComment) Color() string

func (*OnPRComment) Configuration

func (p *OnPRComment) Configuration() []configuration.Field

func (*OnPRComment) Description

func (p *OnPRComment) Description() string

func (*OnPRComment) Documentation

func (p *OnPRComment) Documentation() string

func (*OnPRComment) ExampleData

func (t *OnPRComment) ExampleData() map[string]any

func (*OnPRComment) HandleHook

func (p *OnPRComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)

func (*OnPRComment) HandleWebhook

func (*OnPRComment) Hooks

func (p *OnPRComment) Hooks() []core.Hook

func (*OnPRComment) Icon

func (p *OnPRComment) Icon() string

func (*OnPRComment) Label

func (p *OnPRComment) Label() string

func (*OnPRComment) Name

func (p *OnPRComment) Name() string

func (*OnPRComment) Setup

func (p *OnPRComment) Setup(ctx core.TriggerContext) error

type OnPRReviewComment

type OnPRReviewComment struct{}

func (*OnPRReviewComment) Cleanup

func (p *OnPRReviewComment) Cleanup(ctx core.TriggerContext) error

func (*OnPRReviewComment) Color

func (p *OnPRReviewComment) Color() string

func (*OnPRReviewComment) Configuration

func (p *OnPRReviewComment) Configuration() []configuration.Field

func (*OnPRReviewComment) Description

func (p *OnPRReviewComment) Description() string

func (*OnPRReviewComment) Documentation

func (p *OnPRReviewComment) Documentation() string

func (*OnPRReviewComment) ExampleData

func (t *OnPRReviewComment) ExampleData() map[string]any

func (*OnPRReviewComment) HandleHook

func (p *OnPRReviewComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)

func (*OnPRReviewComment) HandleWebhook

func (*OnPRReviewComment) Hooks

func (p *OnPRReviewComment) Hooks() []core.Hook

func (*OnPRReviewComment) Icon

func (p *OnPRReviewComment) Icon() string

func (*OnPRReviewComment) Label

func (p *OnPRReviewComment) Label() string

func (*OnPRReviewComment) Name

func (p *OnPRReviewComment) Name() string

func (*OnPRReviewComment) Setup

type OnPullRequest

type OnPullRequest struct{}

func (*OnPullRequest) Cleanup

func (p *OnPullRequest) Cleanup(ctx core.TriggerContext) error

func (*OnPullRequest) Color

func (p *OnPullRequest) Color() string

func (*OnPullRequest) Configuration

func (p *OnPullRequest) Configuration() []configuration.Field

func (*OnPullRequest) Description

func (p *OnPullRequest) Description() string

func (*OnPullRequest) Documentation

func (p *OnPullRequest) Documentation() string

func (*OnPullRequest) ExampleData

func (t *OnPullRequest) ExampleData() map[string]any

func (*OnPullRequest) HandleHook

func (p *OnPullRequest) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)

func (*OnPullRequest) HandleWebhook

func (*OnPullRequest) Hooks

func (p *OnPullRequest) Hooks() []core.Hook

func (*OnPullRequest) Icon

func (p *OnPullRequest) Icon() string

func (*OnPullRequest) Label

func (p *OnPullRequest) Label() string

func (*OnPullRequest) Name

func (p *OnPullRequest) Name() string

func (*OnPullRequest) Setup

func (p *OnPullRequest) Setup(ctx core.TriggerContext) error

type OnPullRequestConfiguration

type OnPullRequestConfiguration struct {
	Repository string   `json:"repository" mapstructure:"repository"`
	Actions    []string `json:"actions" mapstructure:"actions"`
}

type UpdatePullRequest added in v0.30.0

type UpdatePullRequest struct{}

func (*UpdatePullRequest) Cancel added in v0.30.0

func (*UpdatePullRequest) Cleanup added in v0.30.0

func (c *UpdatePullRequest) Cleanup(ctx core.SetupContext) error

func (*UpdatePullRequest) Color added in v0.30.0

func (c *UpdatePullRequest) Color() string

func (*UpdatePullRequest) Configuration added in v0.30.0

func (c *UpdatePullRequest) Configuration() []configuration.Field

func (*UpdatePullRequest) Description added in v0.30.0

func (c *UpdatePullRequest) Description() string

func (*UpdatePullRequest) Documentation added in v0.30.0

func (c *UpdatePullRequest) Documentation() string

func (*UpdatePullRequest) ExampleOutput added in v0.30.0

func (c *UpdatePullRequest) ExampleOutput() map[string]any

func (*UpdatePullRequest) Execute added in v0.30.0

func (c *UpdatePullRequest) Execute(ctx core.ExecutionContext) error

func (*UpdatePullRequest) HandleHook added in v0.30.0

func (c *UpdatePullRequest) HandleHook(ctx core.ActionHookContext) error

func (*UpdatePullRequest) HandleWebhook added in v0.30.0

func (*UpdatePullRequest) Hooks added in v0.30.0

func (c *UpdatePullRequest) Hooks() []core.Hook

func (*UpdatePullRequest) Icon added in v0.30.0

func (c *UpdatePullRequest) Icon() string

func (*UpdatePullRequest) Label added in v0.30.0

func (c *UpdatePullRequest) Label() string

func (*UpdatePullRequest) Name added in v0.30.0

func (c *UpdatePullRequest) Name() string

func (*UpdatePullRequest) OutputChannels added in v0.30.0

func (c *UpdatePullRequest) OutputChannels(configuration any) []core.OutputChannel

func (*UpdatePullRequest) ProcessQueueItem added in v0.30.0

func (c *UpdatePullRequest) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*UpdatePullRequest) Setup added in v0.30.0

func (c *UpdatePullRequest) Setup(ctx core.SetupContext) error

type UpdatePullRequestConfiguration added in v0.30.0

type UpdatePullRequestConfiguration struct {
	Repository string    `mapstructure:"repository" json:"repository"`
	PullNumber any       `mapstructure:"pullNumber" json:"pullNumber"`
	Title      *string   `mapstructure:"title" json:"title"`
	Body       *string   `mapstructure:"body" json:"body"`
	State      *string   `mapstructure:"state" json:"state"`
	Base       *string   `mapstructure:"base" json:"base"`
	Assignees  *[]string `mapstructure:"assignees" json:"assignees"`
	Labels     *[]string `mapstructure:"labels" json:"labels"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL