Versions in this module Expand all Collapse all v13 v13.0.0 Aug 3, 2026 Changes in this version + func IsTruthy(input any) bool + func Mutate(input string, mutations ...Mutation) (string, error) + func MutateYamlNode(node *yaml.Node, mutations ...Mutation) error + func RewriteSubExpression(in string, forceFormat bool) string + type Config struct + Context string + OverrideCancelled func() (bool, error) + OverrideFailure func() (bool, error) + OverrideSuccess func() (bool, error) + Run *model.Run + WorkingDir string + type DefaultStatusCheck int + const DefaultStatusCheckAlways + const DefaultStatusCheckCanceled + const DefaultStatusCheckFailure + const DefaultStatusCheckNone + const DefaultStatusCheckSuccess + func (dsc DefaultStatusCheck) String() string + type EnvReferencedError struct + Key string + String string + func (e *EnvReferencedError) Error() string + func (e *EnvReferencedError) Is(target error) bool + type EnvWrapper struct + Env map[string]string + type ErrorMode int + const BlockEnv + const BlockSecrets + const InvalidJobOutput + const InvalidMatrixDimension + type EvaluationEnvironment struct + Env map[string]string + ErrorMode ErrorMode + Github *model.GithubContext + HashFiles func([]reflect.Value) (any, error) + Inputs map[string]any + Job *model.JobContext + Jobs *map[string]*model.WorkflowCallResult + Matrix map[string]any + Needs map[string]Needs + Runner map[string]any + Secrets map[string]string + Steps map[string]*model.StepResult + Strategy map[string]any + Vars map[string]string + type Interpreter interface + Evaluate func(input string, defaultStatusCheck DefaultStatusCheck) (any, error) + func NewInterpreter(env *EvaluationEnvironment, config Config) Interpreter + type InvalidJobOutputReferencedError struct + JobID string + OutputName string + String string + func (e *InvalidJobOutputReferencedError) Error() string + type InvalidMatrixDimensionReferencedError struct + Dimension string + String string + func (e *InvalidMatrixDimensionReferencedError) Error() string + type JobOutputsWrapper struct + JobID string + Needs *Needs + type MatrixWrapper struct + Matrix map[string]any + type Mutation interface + SingleNodeMutation func(exprNode actionlint.ExprNode) (actionlint.ExprNode, error) + type Needs struct + Outputs map[string]string + Result string + type NeedsWrapper struct + JobID string + Outputs map[string]string + type SecretsReferencedError struct + Key string + String string + func (e *SecretsReferencedError) Error() string + func (e *SecretsReferencedError) Is(target error) bool + type SecretsWrapper struct + Secrets map[string]string + type VariableAccessMutator struct + Rewriter func(property actionlint.ExprNode) actionlint.ExprNode + Variable string + func (vam *VariableAccessMutator) SingleNodeMutation(exprNode actionlint.ExprNode) (actionlint.ExprNode, error) Other modules containing this package code.forgejo.org/forgejo/runner/v11 code.forgejo.org/forgejo/runner/v12 code.forgejo.org/forgejo/runner/v9