lib/danger/request_sources/github/github.rb in danger-8.0.2 vs lib/danger/request_sources/github/github.rb in danger-8.0.3

- old
+ new

@@ -38,9 +38,13 @@ unless prs.empty? prs.first.number end end + def validates_as_ci? + true + end + def validates_as_api_source? (@token && !@token.empty?) || self.environment["DANGER_USE_LOCAL_GIT"] end def scm