Skip to content

fix: resolve YAML syntax errors in .gitlab-ci.yml

Divyak Pratap Singh requested to merge fix-pipeline into main
  • Remove all emoji from before_script / script strings (multi-byte Unicode caused GitLab YAML validator to report 'before_script config should be a string or nested array of strings')
  • Replace multiline sonar-scanner pipe-block with individual flag continuation lines so each list item is a plain string
  • Replace YAML anchor merges (<<: *only_main) on deploy jobs with explicit rules: blocks - prevents merge conflicts with when: manual
  • Override before_script in sonarqube_scan and security_gate jobs with clean ASCII-only strings
  • Validate: all before_script and script sections confirmed as arrays of strings via js-yaml parse check

Merge request reports