lib/buildkite/builder/github.rb in buildkite-builder-1.4.0 vs lib/buildkite/builder/github.rb in buildkite-builder-1.4.1

- old
+ new

@@ -9,10 +9,10 @@ class Github BASE_URI = URI('https://api.github.com').freeze ACCEPT_HEADER = 'application/vnd.github.v3+json' LINK_HEADER = 'link' NEXT_LINK_REGEX = /<(?<uri>.+)>; rel="next"/.freeze - REPO_REGEX = /github\.com(?::|\/)(.*)\.git\z/.freeze + REPO_REGEX = /github\.com(?::|\/)(.*?)(?:\.git)?\z/.freeze PER_PAGE = 100 def self.pull_request_files new.pull_request_files end