File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 1
1
import Danger
2
2
import Foundation
3
3
4
- SwiftLint . lint ( inline: true )
4
+ SwiftLint . lint ( . modifiedAndCreatedFiles( directory: nil ) ,
5
+ inline: true ,
6
+ configFile: nil ,
7
+ strict: false ,
8
+ quiet: true ,
9
+ swiftlintPath: nil ,
10
+ markdownAction: { _ in } )
5
11
6
12
let danger = Danger ( )
7
13
@@ -34,21 +40,10 @@ if let ticketNumberRegex = try? NSRegularExpression(pattern: "#\\d+") {
34
40
let signOff = " Signed-off-by: "
35
41
36
42
let allowList = [ " stefanceriu " ,
37
- " Johennes " ,
38
- " yostyle " ,
39
- " SBiOSoftWhare " ,
40
- " ismailgulek " ,
41
- " Anderas " ,
42
43
" pixlwave " ,
43
44
" langleyd " ,
44
45
" manuroe " ,
45
- " gileluard " ,
46
- " phlniji " ,
47
- " aringenbach " ,
48
- " flescio " ,
49
- " Velin92 " ,
50
- " alfogrillo " ,
51
- " nimau " ]
46
+ " Velin92 " ]
52
47
53
48
let requiresSignOff = !allowList. contains ( where: {
54
49
$0. caseInsensitiveCompare ( danger. github. pullRequest. user. login) == . orderedSame
You can’t perform that action at this time.
0 commit comments