Fix 500 when passing non-string to inputs:regex

What does this MR do and why?

CI config validations were throwing a 500 when giving a non-string value to regex validation. This MR prevents that by returning early from the regex validation when the given value is not a string.

Changelog: fixed

Relates to #481508 (closed)

Screenshots or screen recordings

Before After
Screenshot 2024-08-28 at 15.49.12.png Screenshot 2024-08-28 at 15.49.26.png
Edited by Mark Nuzzo

Merge request reports

Loading