dependabot

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PayloadType is the canvas event type this trigger emits. Intake seeding
	// uses the same type so a seeded alert and a webhook look the same.
	PayloadType = "github.dependabotAlert"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OnAlert

type OnAlert struct{}

func (*OnAlert) Cleanup

func (a *OnAlert) Cleanup(ctx core.TriggerContext) error

func (*OnAlert) Color

func (a *OnAlert) Color() string

func (*OnAlert) Configuration

func (a *OnAlert) Configuration() []configuration.Field

func (*OnAlert) Description

func (a *OnAlert) Description() string

func (*OnAlert) Documentation

func (a *OnAlert) Documentation() string

func (*OnAlert) ExampleData

func (a *OnAlert) ExampleData() map[string]any

func (*OnAlert) HandleHook

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

func (*OnAlert) HandleWebhook

func (a *OnAlert) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)

func (*OnAlert) Hooks

func (a *OnAlert) Hooks() []core.Hook

func (*OnAlert) Icon

func (a *OnAlert) Icon() string

func (*OnAlert) Label

func (a *OnAlert) Label() string

func (*OnAlert) Name

func (a *OnAlert) Name() string

func (*OnAlert) Setup

func (a *OnAlert) Setup(ctx core.TriggerContext) error

type OnAlertConfiguration

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

Jump to

Keyboard shortcuts

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