Commit a89e4ed5 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-fix-check-if-qa-only-change' into 'master'

Skip deleted files when checking for e2e only spec files

See merge request gitlab-org/gitlab!78045
parents a4145eec 747d2106
......@@ -48,7 +48,7 @@ class FindChanges # rubocop:disable Gitlab/NamespacedClass
mr_changes = Gitlab.merge_request_changes(mr_project_path, mr_iid)
mr_changes.changes.map { |change| change['new_path'] }
mr_changes.changes.map { |change| change['new_path'] unless change['deleted_file'] }.compact
end
end
......
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