Commit 2cf94ff3 authored by Rémy Coutable's avatar Rémy Coutable

Fix a broken .include?(Regexp) call

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9e64465e
......@@ -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