dependabot-go_modules 0.268.0 → 0.270.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: 7d66e43000cc043c757b7b81658727c8510f2abc184b7c01537306a5c5ccfcdc
4
- data.tar.gz: 0c10bc2bf2ffad33818938ea342c5c74672ca3d756306a9b1d469f8ae04d19d0
3
+ metadata.gz: 2c37022a527147895d0114d38b0e15bb2c004892d17885aa451f7da05694d418
4
+ data.tar.gz: 100a08bd21476224015f2225f8a8a9aafaadd5011475c50c033808f68a82d642
5
5
  SHA512:
6
- metadata.gz: 6c024209e787bebff73a6f97224cd957125dd01cfe548a013e9834a2177748141f32b5b86e55f244bd62863501cf6715e40df06749518cb461142ac492e40673
7
- data.tar.gz: c4ca588c20e0f349b83ab279a84059257d84a86f1bb291e357a1211699205037859d205b45605236d51da388d33aa68bfa97897938aa904b8fd0f6756c1b2786
6
+ metadata.gz: 3d3175067d1596f7a3cb0f347e98762774449ab49221782cfb45af788e1c8592c0a115a5b58f4a1726ad72769067e14cc6417aa94daaaedd937552eb0e692403
7
+ data.tar.gz: c62bd25e250650ef5a434be67de0718928e1f3010700fda2e1640d99963b97c95f31a371d0a9086a9ec23f78cb5e180ada93a4bc5c4eeb62b0a25c0a3a735475
@@ -33,12 +33,21 @@ module Dependabot
33
33
  use_repo_contents_stub if repo_contents_path.nil?
34
34
  end
35
35
 
36
- sig { override.returns(T::Array[Regexp]) }
37
- def self.updated_files_regex
38
- [
39
- /^go\.mod$/,
40
- /^go\.sum$/
41
- ]
36
+ sig { override.params(allowlist_enabled: T::Boolean).returns(T::Array[Regexp]) }
37
+ def self.updated_files_regex(allowlist_enabled = false)
38
+ if allowlist_enabled
39
+ [
40
+ /^go\.mod$/,
41
+ /^go\.sum$/,
42
+ %r{^vendor/.*}
43
+ ]
44
+ else
45
+ # Old regex. After 100% rollout of the allowlist, this will be removed.
46
+ [
47
+ /^go\.mod$/,
48
+ /^go\.sum$/
49
+ ]
50
+ end
42
51
  end
43
52
 
44
53
  sig { override.returns(T::Array[Dependabot::DependencyFile]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-go_modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.268.0
4
+ version: 0.270.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-08-02 00:00:00.000000000 Z
11
+ date: 2024-08-15 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.268.0
19
+ version: 0.270.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.268.0
26
+ version: 0.270.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ licenses:
268
268
  - MIT
269
269
  metadata:
270
270
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
271
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.268.0
271
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.270.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: