Fix string conversion for CI Inputs

What does this MR do and why?

Fix string conversion for CI Inputs

We should not try to parse the string inputs as JSON because anyone can pass anything into it.

References

Related to #535995 (closed)

Screenshots or screen recordings

spec:
  inputs:
    hash_as_string:
      default: 'normal string'
---

test:
  script:
    - echo $[[ inputs.hash_as_string ]]

Screenshot_2025-04-14_at_13.57.38

Before After
Screenshot_2025-04-14_at_14.01.13 Screenshot_2025-04-14_at_13.58.21

Screenshot_2025-04-14_at_14.04.10

Before After
Screenshot_2025-04-14_at_14.04.44 Screenshot_2025-04-14_at_14.06.56

Screenshot_2025-04-14_at_14.04.29

Before After
Screenshot_2025-04-14_at_14.04.48 Screenshot_2025-04-14_at_14.07.22

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Furkan Ayhan

Merge request reports

Loading