Documentation
¶
Overview ¶
Package gate is the diff gate (ADR-007): before ynf pushes anything, the changed paths must be inside the lane's allowed paths and outside every protected path. It catches what a runner's own tamper checks cannot: changes to the files that judge the change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Protected = []string{
".github/workflows/**",
".github/actions/**",
"**/CODEOWNERS",
".agents/**",
".ynh/**",
".ynm/**",
".ynf/**",
}
Protected are refused in every lane: CI, ownership, and every folder that holds ynf, ynh or ynm configuration, including the lane policy itself.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.