inputs

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package inputs handles parsing GitHub Action inputs from environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Files            []string
	FilesFrom        string
	FilesFilter      string
	Mode             string
	Keys             []string
	Values           []string
	ImageName        string
	ImageTag         string
	CreatePR         bool
	TargetBranch     string
	PRBranch         string
	PRTitle          string
	PRBody           string
	PRLabels         []string
	PRReviewers      []string
	CommitMessage    string
	Token            string
	AutoMerge        bool
	MergeMethod      string
	DryRun           bool
	GitUserName      string
	GitUserEmail     string
	GithubRepo       string
	GithubServerURL  string
	GithubAPIURL     string
	GithubGraphQLURL string
}

Config holds all parsed input values.

func Parse

func Parse() (*Config, error)

Parse reads and validates inputs from environment variables.

Jump to

Keyboard shortcuts

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