Help us shape the future of Go! Take the 2026 Go Developer Survey

triggertype

package
v0.50.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger string
const (
	Cancel                Trigger = "cancel"
	CheckRunRerequested   Trigger = "check-run-rerequested"
	CheckSuiteRerequested Trigger = "check-suite-rerequested"
	Comment               Trigger = "comment"
	Incoming              Trigger = "incoming"
	PullRequestLabeled    Trigger = "pull_request_labeled"
	OkToTest              Trigger = "ok-to-test"
	PullRequestClosed     Trigger = "pull_request_closed"
	PullRequest           Trigger = "pull_request" // it's should be "pull_request_opened_updated" but let's keep it simple.
	Push                  Trigger = "push"
	Retest                Trigger = "retest"
)

func IsPullRequestType added in v0.32.0

func IsPullRequestType(s string) Trigger

IsPullRequestType all Triggertype that are actually a pull request.

func StringToType

func StringToType(s string) Trigger

func (Trigger) String

func (t Trigger) String() string

Jump to

Keyboard shortcuts

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