dependabot-github_actions 0.238.0 → 0.239.0

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: 417a5dc780b5653b184e1b85bf500acba5f75527d0c6533b2d18a137aad5a1a6
4
- data.tar.gz: d6162c2c02bf9c61ece051e9cc9c7df0af9037b0c0b10499fce246a685b00407
3
+ metadata.gz: ff3ec4fa8f1b132227c557b6fa76217241bec1a0a75f53628f985a824a2be1f3
4
+ data.tar.gz: a02e8693737f12942663d1e4c5b7ffcb5f3955792a07b0f5fa0b4a829d925cbe
5
5
  SHA512:
6
- metadata.gz: 11f0acafb4b769b2e808b5447de805cbc5c62a4bbfc57b3ca869886c83fdd1124607d1406b5071a85e36953734186f5596cf6997cb96d3a3adc020dd11a112c2
7
- data.tar.gz: 3cfdc22db82f2c0317709ed293fbb8f7ce941f3e5b38b58ea43f7e23cd59ac8db462fe154e7802924071483801e72c7a0b63433b21f594c7fdd38fbf6970b9e8
6
+ metadata.gz: 1022e0293ced804a75245f3b1dd81c20393eb112ca7837f73426c88b37f4b9b182473ecc0f1f5a5f935e5119b914de3c17a269d43c1f98ece4198585f41630ab
7
+ data.tar.gz: 45f493d1f78fe2e01a3227d1e07b50ae53f5bf1ff345264a2e17745b8aa42f9490817e05d85d9cdbb5f83f7c942fd0fc2826dd5af59fd602b9a202a86aae680e
@@ -100,6 +100,8 @@ module Dependabot
100
100
  return unless git_checker.ref_looks_like_commit_sha?(old_ref)
101
101
 
102
102
  previous_version_tag = git_checker.most_specific_version_tag_for_sha(old_ref)
103
+ return unless previous_version_tag # There's no tag for this commit
104
+
103
105
  previous_version = version_class.new(previous_version_tag).to_s
104
106
  return unless comment.end_with? previous_version
105
107
 
@@ -1,16 +1,20 @@
1
1
  # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
5
+
6
+ require "dependabot/requirement"
4
7
  require "dependabot/utils"
5
8
  require "dependabot/github_actions/version"
6
9
 
7
10
  module Dependabot
8
11
  module GithubActions
9
12
  # Lifted from the bundler package manager
10
- class Requirement < Gem::Requirement
13
+ class Requirement < Dependabot::Requirement
11
14
  # For consistency with other languages, we define a requirements array.
12
15
  # Ruby doesn't have an `OR` separator for requirements, so it always
13
16
  # contains a single element.
17
+ sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
14
18
  def self.requirements_array(requirement_string)
15
19
  [new(requirement_string)]
16
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-github_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.238.0
4
+ version: 0.239.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.238.0
19
+ version: 0.239.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.238.0
26
+ version: 0.239.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.57.2
117
+ version: 1.58.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.57.2
124
+ version: 1.58.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -227,7 +227,7 @@ licenses:
227
227
  - Nonstandard
228
228
  metadata:
229
229
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
230
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.238.0
230
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
231
231
  post_install_message:
232
232
  rdoc_options: []
233
233
  require_paths: