TypeError: type mismatch: Array given when viewing pipelines
https://sentry.gitlab.net/gitlab/gitlabcom/issues/803150/
TypeError: type mismatch: Array given
gitlab/ci/pipeline/expression/lexeme/matches.rb:20:in `index'
text.to_s.index(match)
gitlab/ci/pipeline/expression/lexeme/matches.rb:20:in `evaluate'
text.to_s.index(match)
gitlab/ci/pipeline/expression/statement.rb:22:in `evaluate'
parse_tree.evaluate(@variables.to_h)
gitlab/ci/pipeline/expression/statement.rb:26:in `truthful?'
evaluate.present?
gitlab/ci/build/policy/variables.rb:20:in `any?'
statements.any?(&:truthful?)
...
(140 additional frame(s) were not displayed)
TypeError: type mismatch: Array given