maintainedactions

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestRelease

func GetLatestRelease(ownerRepo string) (string, error)

func LoadMaintainedActions

func LoadMaintainedActions(jsonPath string) (map[string]string, error)

LoadMaintainedActions loads the maintained actions from the JSON file

func ReplaceActions

func ReplaceActions(inputYaml string, customerMaintainedActions map[string]string) (string, bool, error)

ReplaceActions replaces original actions with Step Security actions in a workflow

Types

type Action

type Action struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	ForkedFrom  struct {
		Name string `json:"name"`
	} `json:"forkedFrom"`
	Score int    `json:"score"`
	Image string `json:"image"`
}

Action represents a GitHub Action in the maintained actions list

type Release

type Release struct {
	TagName string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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