gh

package
v0.0.0-...-d97fb22 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const LabelCleanPHI string = "Clean scan by no-phi-ai"
View Source
const LabelDirtyPHI string = "PHI detected by AI"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientManager

type ClientManager struct {
	githubapp.ClientCreator
}

ClientManager implements the methods of the githubapp.ClientCreator interface and adds additional methods for implementing the business logic of the app.

func NewClientManager

func NewClientManager(config *cfg.Config) (*ClientManager, error)

NewClientManager() function initializes a new ClientManager object using the provided config.

func (*ClientManager) ApplyLabelForIssueComment

func (cms *ClientManager) ApplyLabelForIssueComment(ctx context.Context, event github.IssueCommentEvent, label string) error

ApplyLabelForIssueComment() method applies the specified label to the GitHub issue.

Jump to

Keyboard shortcuts

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