dependabot-go_modules 0.268.0 → 0.271.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: 6c49af43ecc851a2307d21573215b487ec3bf14f08e897fd699fcc44e1bdb3d0
4
+ data.tar.gz: 2b089ea265312e61579c0cf9ee5173d10166acb950d0d039ba42f2625771e672
5
5
  SHA512:
6
- metadata.gz: 6c024209e787bebff73a6f97224cd957125dd01cfe548a013e9834a2177748141f32b5b86e55f244bd62863501cf6715e40df06749518cb461142ac492e40673
7
- data.tar.gz: c4ca588c20e0f349b83ab279a84059257d84a86f1bb291e357a1211699205037859d205b45605236d51da388d33aa68bfa97897938aa904b8fd0f6756c1b2786
6
+ metadata.gz: ed2ee9d41fc428a4bb39e5e5e0b404ec0203bbbd29a67a85d051040e441a873df54487938ef8876f11aa681c12580e061b9502d3fd4a7b9ebe0a5893e542f61e
7
+ data.tar.gz: c3803c0eb09b0eeb473b6d3a236c9446c4ead5b24d855e3398e80ddf49e573523800120d88f3e30aad23d38d2bab38c5cd45f87a7ac8a735e7af5561d1fc0fc8
@@ -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.271.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.271.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.271.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.271.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: