dependabot-github_actions 0.258.0 → 0.260.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: d2bc4927f7028ddbe3067abd12abbe1b273646018ec4ef47b3854651259d04cf
4
- data.tar.gz: e9f382cf038471c6a6dadfd7e3f8dd3563fe8bd896bf3ecf09e5088f32b1b9f5
3
+ metadata.gz: b7c8ce65e1f4c2dfc2f1b26f25ab786e5f3f84df82cd6fef1c277b6de1a9bd9f
4
+ data.tar.gz: 916ddad5deb57a3d3f4c75c84cfbcbe76a97b84920a3f9562461ba9bf34469e7
5
5
  SHA512:
6
- metadata.gz: f99fa1e00d933beeca50a2abdd4edc4d87d4182efdc378e329c079d6c843195c6ebf6c01444a5b5f9c2158d7c9e39c194d3352fef41cec63b926cc5c5f0f0184
7
- data.tar.gz: 947c0290e46d33a60a0fc2307123790a32cf24ec71a4dd6f0657d3f57858d469d062f100a6937d7e6cddb7a2ce4f101c7224c5b42df3acf646d17dd780c81830
6
+ metadata.gz: 586077085e627e5268c8bfb91df777ea73e41683a9615c6b4c42a328b76c9073cf4c2da8ecb9a79f890662cb72030dc95c8c77c3831024a543e030f20abf66d5
7
+ data.tar.gz: 2eac244dfdb790786c408911274049705166f935f86884b0b8292df96e8083fe294b79257752aa5e63778c71f076c2b2fb163ed12811d4065f0f6f5a74e1fc14
@@ -78,7 +78,7 @@ module Dependabot
78
78
  old_declaration
79
79
  .gsub(/@.*+/, "@#{new_ref}")
80
80
 
81
- # Replace the old declaration that's preceded by a non-word character
81
+ # Replace the old declaration that's preceded by a non-word character (unless it's a hyphen)
82
82
  # and followed by a whitespace character (comments) or EOL.
83
83
  # If the declaration is followed by a comment that lists the version associated
84
84
  # with the SHA source ref, then update the comment to the human-readable new version.
@@ -88,7 +88,7 @@ module Dependabot
88
88
  updated_content =
89
89
  updated_content
90
90
  .gsub(
91
- /(?<=\W|"|')#{Regexp.escape(old_declaration)}["']?(?<comment>\s+#.*)?(?=\s|$)/
91
+ /(?<=[^a-zA-Z_-]|"|')#{Regexp.escape(old_declaration)}["']?(?<comment>\s+#.*)?(?=\s|$)/
92
92
  ) do |match|
93
93
  comment = Regexp.last_match(:comment)
94
94
  match.gsub!(old_declaration, new_declaration)
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.258.0
4
+ version: 0.260.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-16 00:00:00.000000000 Z
11
+ date: 2024-06-06 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.258.0
19
+ version: 0.260.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.258.0
26
+ version: 0.260.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -255,7 +255,7 @@ licenses:
255
255
  - MIT
256
256
  metadata:
257
257
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
258
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.258.0
258
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.260.0
259
259
  post_install_message:
260
260
  rdoc_options: []
261
261
  require_paths: