Documentation ¶
Index ¶
- func AddWorkflowLevelPermissions(inputYaml string, addProjectComment bool) (string, error)
- func IterateNode(node *yaml.Node, identifier, tag string, minLine int) *yaml.Node
- func ShouldAddWorkflowLevelPermissions(jobErrors []JobError) bool
- type JobError
- type JobState
- type Permission
- type SecureWorkflowReponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IterateNode ¶
Types ¶
type Permission ¶
type Permission struct {
// contains filtered or unexported fields
}
type SecureWorkflowReponse ¶
type SecureWorkflowReponse struct { OriginalInput string FinalOutput string IsChanged bool HasErrors bool AlreadyHasPermissions bool PinnedActions bool AddednholuongutRunner bool AddedPermissions bool IncorrectYaml bool WorkflowFetchError bool JobErrors []JobError MissingActions []string }
func AddJobLevelPermissions ¶
func AddJobLevelPermissions(inputYaml string) (*SecureWorkflowReponse, error)
Click to show internal directories.
Click to hide internal directories.