dependabot-github_actions 0.358.0 → 0.360.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dependabot/github_actions/file_updater.rb +5 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40e53fb3961818820fe88df4dcb60c4a4dfcd8105e00b7cd226cf9fd531aeb86
|
|
4
|
+
data.tar.gz: 382bbf3f1f2377a6a494e5fe91ed907fe7c9758ffe81a3cc5e89c3d86189065c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69f068693be4c9c4ba089ddbd3ce95c1099e7567350d8a38e81ad0f21949fb07c5bb9dc4cb8d4482034cc6e69c85414de5f9237ab022863fd47e95712f6b4ec5
|
|
7
|
+
data.tar.gz: 72e52e3274ac8aaa39e24ba0374681553d5b2aabaef79200935357a9b8f8edf7696b0591dce6383f6f8153cf51ddced1e30778bfd7e6665a61c8e099cd242d63
|
|
@@ -107,11 +107,12 @@ module Dependabot
|
|
|
107
107
|
git_checker = Dependabot::GitCommitChecker.new(dependency: dependency, credentials: credentials)
|
|
108
108
|
return unless git_checker.ref_looks_like_commit_sha?(old_ref)
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
return unless
|
|
110
|
+
previous_version_tags = git_checker.most_specific_version_tags_for_sha(old_ref)
|
|
111
|
+
return unless previous_version_tags.any? # There's no tag for this commit
|
|
112
112
|
|
|
113
|
-
previous_version = version_class.new(
|
|
114
|
-
|
|
113
|
+
previous_version = previous_version_tags.map { |tag| version_class.new(tag).to_s }
|
|
114
|
+
.find { |version| comment.end_with? version }
|
|
115
|
+
return unless previous_version
|
|
115
116
|
|
|
116
117
|
new_version_tag = git_checker.most_specific_version_tag_for_sha(new_ref)
|
|
117
118
|
return unless new_version_tag
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.360.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.360.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.360.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -259,7 +259,7 @@ licenses:
|
|
|
259
259
|
- MIT
|
|
260
260
|
metadata:
|
|
261
261
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
262
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
262
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.360.0
|
|
263
263
|
rdoc_options: []
|
|
264
264
|
require_paths:
|
|
265
265
|
- lib
|