workflow

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionPermissionsTable = "ActionPermissions"
	MissingActionsTable    = "MissingActions"
)
View Source
const (
	HardenRunnerActionPathWithTag = "step-security/harden-runner@v2"
	HardenRunnerActionPath        = "step-security/harden-runner"
	HardenRunnerActionName        = "Harden Runner"
)
View Source
const CodeQLWorkflowFileName = "codeql.yml"

Variables

This section is empty.

Functions

func AddWorkflow added in v1.2.0

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

func CreateIssue

func CreateIssue(Action string) (int, 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 WorkflowParameters added in v1.2.0

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