Help us shape the future of Go! Take the 2026 Go Developer Survey

githubactions

package
v1.233.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package githubactions implements the github-actions file manager: it scans workflow files for `uses:` action references, matches them against managed version entries by owner/repo package, and rewrites the ref from the lock. Pinned entries render the Renovate/Dependabot round-trip convention `uses: owner/repo@<commit-sha> # <version>`; the trailing comment keeps the human-readable version next to the immutable SHA.

Index

Constants

View Source
const Name = "github-actions"

Name is the manager's registry name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct{}

Manager rewrites GitHub Actions workflow refs from the lock.

func (Manager) DefaultPaths

func (Manager) DefaultPaths() []string

DefaultPaths returns the standard workflow locations.

func (Manager) Name

func (Manager) Name() string

Name returns the manager's registry name.

func (Manager) Plan

func (m Manager) Plan(ctx context.Context, in *managers.Input) ([]managers.FileChange, error)

Plan scans workflow files and returns the rewrites needed to match the locked versions. Files are rewritten line-by-line, never YAML round-tripped, so formatting and comments are preserved.

Jump to

Keyboard shortcuts

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