dependabot-common 0.118.5 → 0.118.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/pull_request_creator/labeler.rb +3 -1
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70cb431e0b24eaf5333f1a868234fff74026c1d2100d602ace8930b3fcdab8d6
|
4
|
+
data.tar.gz: 571102655827a49ee3bb5aabab49ddd13d48568652134c871eb996db1291fcb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efc89ed94109360cc5b3ecd85ff04a091a759385431d5201d9f8d8e5b07f4cd089b0c923e98786044a3e77d917628b7cd1557ca571e27b2849ebc04c3edce158
|
7
|
+
data.tar.gz: 88683da344b4ef6fe8e1c54bfeb715151e77ea607ca5e8d9e72b8a9909d76ef9db7b35890aa31e412f666c4a60a4ea932c00579e41b02ba3fd804487aa624114
|
@@ -191,8 +191,10 @@ module Dependabot
|
|
191
191
|
!security_label.nil?
|
192
192
|
end
|
193
193
|
|
194
|
+
# Find the exact match first and then fallback to * security* label
|
194
195
|
def security_label
|
195
|
-
labels.find { |l| l
|
196
|
+
labels.find { |l| l == DEFAULT_SECURITY_LABEL } ||
|
197
|
+
labels.find { |l| l.match?(/security/i) }
|
196
198
|
end
|
197
199
|
|
198
200
|
def label_update_type?
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.118.
|
4
|
+
version: 0.118.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-codecommit
|