workflow

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeQLWorkflowFileName   = "codeql.yml"
	DependencyReviewFileName = "dependency-review.yml"
	ScorecardFileName        = "scorecards.yml"
	CodeQL                   = "CodeQL"
	DependencyReview         = "Dependency-review"
	Scorecard                = "Scorecard"
)
View Source
const (
	ActionPermissionsTable = "ActionPermissions"
	MissingActionsTable    = "MissingActions"
)
View Source
const (
	HardenRunnerActionPathWithTag = "step-security/harden-runner@v2"
	HardenRunnerActionPath        = "step-security/harden-runner"
	HardenRunnerActionName        = "Harden Runner"
)

Variables

This section is empty.

Functions

func AddWorkflow

func AddWorkflow(name string, workflowParameters WorkflowParameters) (string, error)

func CreatePR

func CreatePR(Action string) error

func GetGitHubWorkflowContents

func GetGitHubWorkflowContents(queryStringParams map[string]string) (string, error)

func SecureWorkflow

func SecureWorkflow(queryStringParams map[string]string, inputYaml string, svc dynamodbiface.DynamoDBAPI) (*permissions.SecureWorkflowReponse, error)

func StoreMissingActions

func StoreMissingActions(missingActions []string, svc dynamodbiface.DynamoDBAPI) error

Types

type Repo

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

type WorkflowParameters

type WorkflowParameters struct {
	LanguagesToAdd []string
	DefaultBranch  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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