Documentation
¶
Overview ¶
Package config loads CLI configuration from file and environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Path is the resolved config file path (empty if none found).
Path string
// Cooldown controls how recently a tag must have been released to
// be excluded from upgrade suggestions.
Cooldown tag.CooldownConfig
// Workers is the concurrency limit for pool-parallelized phases.
// Defaults to 8; overridden by GH_ACTIONS_LOCK_WORKERS.
Workers int
// StallHintMS is the stall-detection threshold in milliseconds.
// 0 disables the watcher. Overridden by GH_ACTIONS_LOCK_STALL_HINT_MS.
StallHintMS int
// DebugProgress enables per-phase progress tracing.
DebugProgress bool
}
Config holds process-wide settings loaded from the config file and environment variables. Create one via LoadConfig at startup and pass it through the pipeline.
Click to show internal directories.
Click to hide internal directories.