mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-03-28 09:39:18 +08:00
Wrap all AutoscalingRunnerSet *ResourceMeta spec fields with guards that check for non-empty labels OR annotations before rendering the wrapper key. This prevents empty YAML objects in the rendered output when metadata is not provided. Affected fields: - autoscalingListener - listenerServiceAccountMetadata - listenerRoleMetadata - listenerRoleBindingMetadata - listenerConfigSecretMetadata - ephemeralRunnerSetMetadata - ephemeralRunnerMetadata - ephemeralRunnerConfigSecretMetadata