Commit 8d51a459 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '345153-job-failed-1759784214' into 'master'

Fix a broken .include?(Regexp) call

See merge request gitlab-org/gitlab!73977
parents f7cc235e 2cf94ff3
......@@ -2,7 +2,7 @@
return unless ENV['CI']
return unless ENV['SKIP_FLAKY_TESTS_AUTOMATICALLY'] == "true"
return if ENV['CI_MERGE_REQUEST_LABELS'].include?(/pipeline:run-flaky-tests/)
return if ENV['CI_MERGE_REQUEST_LABELS'].to_s.include?('pipeline:run-flaky-tests')
require_relative '../tooling/rspec_flaky/report'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment