dependabot-common 0.111.49 → 0.111.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/pull_request_creator/github.rb +10 -1
- data/lib/dependabot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6e20136c4ac608379f5347d06c4b40f865e98746ace5d793b21e9e451f8547e
|
4
|
+
data.tar.gz: c5e37c4bb622cd44c33086631a988b59f42dc5cbb7b63d6236cd24cdacb4996d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fca5b3567938b4b5219c70a5f39c77a2d657e8f4fe13c8f5aaca986453cddd41040e7a1ea953a46529327e45db1bc411c9b0033c1e6a3bcec2eff19003d8f48
|
7
|
+
data.tar.gz: 30c53f23db1994ad02f5a7f9dd9aa7122aea9a5d76114a38c522f2e7c39f7de114cf357d9866685b25b72c07214c1ef0c9beffa777d840fa9c8c0dbc67db76e8
|
@@ -289,7 +289,16 @@ module Dependabot
|
|
289
289
|
headers: custom_headers || {}
|
290
290
|
)
|
291
291
|
rescue Octokit::UnprocessableEntity => e
|
292
|
-
handle_pr_creation_error(e)
|
292
|
+
return handle_pr_creation_error(e) if e.message.include?("field:")
|
293
|
+
|
294
|
+
# Sometimes PR creation fails with no details (presumably because the
|
295
|
+
# details are internal). It doesn't hurt to retry in these cases, in
|
296
|
+
# case the cause is a race.
|
297
|
+
retrying_pr_creation ||= false
|
298
|
+
raise if retrying_pr_creation
|
299
|
+
|
300
|
+
retrying_pr_creation = true
|
301
|
+
retry
|
293
302
|
end
|
294
303
|
|
295
304
|
def handle_pr_creation_error(error)
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.111.
|
4
|
+
version: 0.111.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.66'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '0.
|
80
|
+
version: '0.66'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: gitlab
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|