mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-09-30 18:46:48 +02:00
The batched review suggestion introduced a per-segment DNS subdomain check for the key prefix, but consumed the 'end' that closed the prefix branch. That left the block unbalanced, so every template in both charts failed to parse, and it also moved the name-part check inside the prefix branch where it would only run for prefixed keys. Close the prefix branch explicitly and bind kind/path before the range, since the range rebinds the dot and '.path'/'.kind' are not reachable inside it. Also correct the segment error message, which described the 253 character limit rather than the constraint that actually failed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>