File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Sometimes it's a README fix, or something like that - which isn't relevant for
4
4
# including in a project's CHANGELOG for example
5
- declared_trivial = ( github . pr_title + github . pr_body ) . include? ( "#trivial" )
5
+ declared_trivial = ( github . pr_title + github . pr_body ) . include? "#trivial"
6
6
7
7
# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
8
- warn ( "PR is classed as Work in Progress" ) if pr_title . include? "[WIP]"
8
+ warn "PR is classed as Work in Progress" if github . pr_title . include? "[WIP]"
9
9
10
10
# Warn when there is a big PR
11
- warn ( "Big PR" ) if lines_of_code > 500
11
+ warn "Big PR" if git . lines_of_code > 500
12
12
13
13
# Ensure there is a summary for a PR
14
14
fail "Please provide a summary in the Pull Request description" if github . pr_body . length < 5
15
15
16
16
# Add a CHANGELOG entry for app changes
17
- if git . lines_of_code > 50 && !github . modified_files . include? ( "CHANGELOG.md" ) && !declared_trivial
18
- fail ( "Please update [CHANGELOG.md](https://github.com/polydice/iCook-tvOS/blob/develop/CHANGELOG.md)." )
17
+ if git . lines_of_code > 50 && !git . modified_files . include? ( "CHANGELOG.md" ) && !declared_trivial
18
+ fail "Please update [CHANGELOG.md](https://github.com/polydice/iCook-tvOS/blob/develop/CHANGELOG.md)." , sticky : true
19
19
end
20
20
21
21
# Ensure a clean commits history
22
22
if git . commits . any? { |c | c . message =~ /^Merge branch/ }
23
- fail ( ' Please rebase to get rid of the merge commits in this PR' )
23
+ fail " Please rebase to get rid of the merge commits in this PR" , sticky : true
24
24
end
Original file line number Diff line number Diff line change 1
1
GEM
2
2
remote: http://rubygems.org/
3
3
specs:
4
- CFPropertyList (2.3.3 )
4
+ CFPropertyList (2.3.4 )
5
5
RubyInline (3.12.4 )
6
6
ZenTest (~> 4.3 )
7
7
ZenTest (4.11.1 )
12
12
thread_safe (~> 0.3 , >= 0.3.4 )
13
13
tzinfo (~> 1.1 )
14
14
addressable (2.4.0 )
15
- babosa (1.0.2 )
16
15
claide (1.0.1 )
17
16
claide-plugins (0.9.2 )
18
17
cork
64
63
commander (>= 4.3.5 )
65
64
highline (>= 1.7.1 )
66
65
security
67
- danger (4.0.0 )
66
+ danger (4.0.1 )
68
67
claide (~> 1.0 )
69
68
claide-plugins (>= 0.9.2 )
70
69
colored (~> 1.2 )
82
81
multipart-post (>= 1.2 , < 3 )
83
82
faraday-http-cache (1.3.1 )
84
83
faraday (~> 0.8 )
85
- fastlane_core (0.53.0 )
86
- babosa
84
+ fastlane_core (0.57.2 )
87
85
colored
88
86
commander (>= 4.4.0 , <= 5.0.0 )
89
87
credentials_manager (>= 0.16.2 , < 1.0.0 )
@@ -102,13 +100,13 @@ GEM
102
100
highline (1.7.8 )
103
101
i18n (0.7.0 )
104
102
json (1.8.3 )
105
- kramdown (1.12.0 )
103
+ kramdown (1.13.1 )
106
104
mini_portile2 (2.1.0 )
107
- minitest (5.9 .1 )
108
- molinillo (0.5.2 )
105
+ minitest (5.10 .1 )
106
+ molinillo (0.5.4 )
109
107
multi_json (1.12.1 )
110
108
multipart-post (2.0.0 )
111
- nanaimo (0.2.2 )
109
+ nanaimo (0.2.3 )
112
110
nap (1.1.0 )
113
111
netrc (0.7.8 )
114
112
nokogiri (1.6.8.1 )
124
122
sawyer (0.7.0 )
125
123
addressable (>= 2.3.5 , < 2.5 )
126
124
faraday (~> 0.8 , < 0.10 )
127
- scan (0.14.1 )
128
- fastlane_core (>= 0.53 .0 , < 1.0.0 )
125
+ scan (0.14.2 )
126
+ fastlane_core (>= 0.57 .0 , < 1.0.0 )
129
127
slack-notifier (~> 1.3 )
130
128
terminal-table (>= 1.4.5 , < 2.0.0 )
131
129
xcpretty (>= 0.2.4 , < 1.0.0 )
You can’t perform that action at this time.
0 commit comments