dependabot-common 0.97.7 → 0.97.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36e1077d9e56e99cf7e83979ce3b22b97a40c192addc540da8eb13198fc3337c
|
4
|
+
data.tar.gz: '09f313a956b5fdd549e6c9f83b5bc25dabb74a4352474e34e0bff34ca735eb8d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 139e060192dc9873eb0b9b741e09e569ac84c0d30ecc2490d816f84c12c514ca9f06e1b528b135ac245e2bea09b1b2d16893142b5e68e583fbc6ea86ad431fda
|
7
|
+
data.tar.gz: 2537b48ce72b669f98d84ac250e005032dd1e3b51a0aa8192c74a49150ca3a7a84b0cac51f1bdf3a56737e8416c7fefec29259a1f7a63ecbb8a193ff0d9c773e
|
@@ -836,10 +836,7 @@ module Dependabot
|
|
836
836
|
end
|
837
837
|
|
838
838
|
def recent_github_commit_messages
|
839
|
-
|
840
|
-
github_client_for_source.commits(source.repo)
|
841
|
-
|
842
|
-
@recent_github_commit_messages.
|
839
|
+
recent_github_commits.
|
843
840
|
reject { |c| c.author&.type == "Bot" }.
|
844
841
|
reject { |c| c.commit&.message&.start_with?("Merge") }.
|
845
842
|
map(&:commit).
|
@@ -869,10 +866,7 @@ module Dependabot
|
|
869
866
|
end
|
870
867
|
|
871
868
|
def last_github_dependabot_commit_message
|
872
|
-
|
873
|
-
github_client_for_source.commits(source.repo)
|
874
|
-
|
875
|
-
@recent_github_commit_messages.
|
869
|
+
recent_github_commits.
|
876
870
|
reject { |c| c.commit&.message&.start_with?("Merge") }.
|
877
871
|
find { |c| c.commit.author&.name == "dependabot[bot]" }&.
|
878
872
|
commit&.
|
@@ -880,6 +874,12 @@ module Dependabot
|
|
880
874
|
strip
|
881
875
|
end
|
882
876
|
|
877
|
+
def recent_github_commits
|
878
|
+
@recent_github_commits ||= github_client_for_source.commits(source.repo)
|
879
|
+
rescue Octokit::Conflict
|
880
|
+
@recent_github_commits ||= []
|
881
|
+
end
|
882
|
+
|
883
883
|
def last_gitlab_dependabot_commit_message
|
884
884
|
@recent_gitlab_commit_messages ||=
|
885
885
|
gitlab_client_for_source.commits(source.repo)
|
data/lib/dependabot/version.rb
CHANGED