action

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TitleUnmatchPattern = `` /* 168-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

func NewAction

func NewAction(ctx context.Context, ac *Config) *Action

func NewActionWithClient

func NewActionWithClient(ctx context.Context, ac *Config, client *github.Client) *Action

func (*Action) Run

func (a *Action) Run(prNumber int, actionType string) error

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewActionConfig

func NewActionConfig(action *githubactions.Action) (*Config, error)

func (*Config) GetHeaderPattern

func (ac *Config) GetHeaderPattern() string

func (*Config) GetOwner

func (ac *Config) GetOwner() string

func (*Config) GetRepo

func (ac *Config) GetRepo() string

func (*Config) GetScopes

func (ac *Config) GetScopes() []string

func (*Config) GetToken

func (ac *Config) GetToken() string

func (*Config) GetTypes

func (ac *Config) GetTypes() []string

Jump to

Keyboard shortcuts

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