lib/danger/ci_source/jenkins.rb in danger-5.10.2 vs lib/danger/ci_source/jenkins.rb in danger-5.10.3

- old
+ new

@@ -57,10 +57,10 @@ env.key? "JENKINS_URL" end def self.validates_as_pr?(env) id = pull_request_id(env) - !id.nil? && !id.empty? + !id.nil? && !id.empty? && !!id.match(%r{^\d+$}) end def supported_request_sources @supported_request_sources ||= begin [