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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c764103d5cc01181c817d684a408aa8c945f825d1aab27395005ba0c39e0a426
4
- data.tar.gz: faa3f01a12a281e1da0bb2ffd77332c318712ed7e6d90875540ba89b7f7219b4
3
+ metadata.gz: f6e20136c4ac608379f5347d06c4b40f865e98746ace5d793b21e9e451f8547e
4
+ data.tar.gz: c5e37c4bb622cd44c33086631a988b59f42dc5cbb7b63d6236cd24cdacb4996d
5
5
  SHA512:
6
- metadata.gz: b4343e7ff29a2d3854fcd1d86c39da9540526344733a82388c645e6382d5e854e979a803487b56be45a6925ce61ff2781b7096a827cc98145e227ebf0b739fc0
7
- data.tar.gz: 066f89ae38f84f9860acf8a69eae1f09b6e1b2a1408f3a62c2c68c299c6fddca36bab10ed293f3ab6aafd8f6a85c823efed80a2f1ebfea445b8b6443754ac7b3
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.111.49"
4
+ VERSION = "0.111.50"
5
5
  end
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.49
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.55'
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.55'
80
+ version: '0.66'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: gitlab
83
83
  requirement: !ruby/object:Gem::Requirement