dependabot-github_actions 0.238.0 → 0.240.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1524f446a90d85b12188b9f462155991041072e21ddc17a0dfd73cc4f059389e
|
4
|
+
data.tar.gz: 2bef48306d4102cb775ec039c866dc6707a3671cfb85144c8fd0a3be039be44c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d7e2acd96934a41597ac6bec32757d1c2bef5901ae034ef20b0c466cd197704e52876d668371b5a9c52b6720db54c176880e61c7354200871e55b9a241151ef
|
7
|
+
data.tar.gz: 8c4ebe10cb8470fa89bdd1398b6c315c1f850355ac97b1c16fb481a777b9ea9c7f9b165719521f6aacfa4bb62e3dde41a3a071f438202eda374ccdf16950b221
|
@@ -11,7 +11,7 @@ module Dependabot
|
|
11
11
|
extend T::Sig
|
12
12
|
extend T::Helpers
|
13
13
|
|
14
|
-
FILENAME_PATTERN =
|
14
|
+
FILENAME_PATTERN = /\.ya?ml$/
|
15
15
|
|
16
16
|
def self.required_files_in?(filenames)
|
17
17
|
filenames.any? { |f| f.match?(FILENAME_PATTERN) }
|
@@ -67,7 +67,7 @@ module Dependabot
|
|
67
67
|
|
68
68
|
@workflow_files +=
|
69
69
|
repo_contents(dir: workflows_dir, raise_errors: false)
|
70
|
-
.select { |f| f.type == "file" && f.name.match?(
|
70
|
+
.select { |f| f.type == "file" && f.name.match?(FILENAME_PATTERN) }
|
71
71
|
.map { |f| fetch_file_from_host("#{workflows_dir}/#{f.name}") }
|
72
72
|
end
|
73
73
|
|
@@ -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 <
|
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.
|
4
|
+
version: 0.240.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-12 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.
|
19
|
+
version: 0.240.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.
|
26
|
+
version: 0.240.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.
|
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.
|
124
|
+
version: 1.58.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-performance
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +206,20 @@ dependencies:
|
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '3.18'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: webrick
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '1.7'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '1.7'
|
209
223
|
description: Dependabot-GitHub_Actions provides support for bumping GitHub Actions
|
210
224
|
via Dependabot. If you want support for multiple package managers, you probably
|
211
225
|
want the meta-gem dependabot-omnibus.
|
@@ -227,7 +241,7 @@ licenses:
|
|
227
241
|
- Nonstandard
|
228
242
|
metadata:
|
229
243
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
230
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
244
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.240.0
|
231
245
|
post_install_message:
|
232
246
|
rdoc_options: []
|
233
247
|
require_paths:
|