File tree Expand file tree Collapse file tree 4 files changed +69
-0
lines changed
Expand file tree Collapse file tree 4 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ script:
1010- cd build
1111- make
1212- ctest
13+ - bundle exec danger
Original file line number Diff line number Diff line change 1+ # Sometimes it's a README fix, or something like that - which isn't relevant for
2+ # including in a project's CHANGELOG for example
3+ declared_trivial = github . pr_title . include? "#trivial"
4+
5+ # Make it more obvious that a PR is a work in progress and shouldn't be merged yet
6+ warn ( "PR is classed as Work in Progress" ) if github . pr_title . include? "[WIP]"
7+
8+ # Warn when there is a big PR
9+ warn ( "Big PR" ) if git . lines_of_code > 500
10+
11+ # Don't let testing shortcuts get into master by accident
12+ fail ( "fdescribe left in tests" ) if `grep -r fdescribe specs/ ` . length > 1
13+ fail ( "fit left in tests" ) if `grep -r fit specs/ ` . length > 1
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+ source "https://rubygems.org"
3+
4+ gem "danger"
Original file line number Diff line number Diff line change 1+ GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ addressable (2.5.1 )
5+ public_suffix (~> 2.0 , >= 2.0.2 )
6+ claide (1.0.2 )
7+ claide-plugins (0.9.2 )
8+ cork
9+ nap
10+ open4 (~> 1.3 )
11+ colored2 (3.1.2 )
12+ cork (0.3.0 )
13+ colored2 (~> 3.1 )
14+ danger (5.3.4 )
15+ claide (~> 1.0 )
16+ claide-plugins (>= 0.9.2 )
17+ colored2 (~> 3.1 )
18+ cork (~> 0.1 )
19+ faraday (~> 0.9 )
20+ faraday-http-cache (~> 1.0 )
21+ git (~> 1 )
22+ kramdown (~> 1.5 )
23+ octokit (~> 4.7 )
24+ terminal-table (~> 1 )
25+ faraday (0.12.2 )
26+ multipart-post (>= 1.2 , < 3 )
27+ faraday-http-cache (1.3.1 )
28+ faraday (~> 0.8 )
29+ git (1.3.0 )
30+ kramdown (1.14.0 )
31+ multipart-post (2.0.0 )
32+ nap (1.1.0 )
33+ octokit (4.7.0 )
34+ sawyer (~> 0.8.0 , >= 0.5.3 )
35+ open4 (1.3.4 )
36+ public_suffix (2.0.5 )
37+ sawyer (0.8.1 )
38+ addressable (>= 2.3.5 , < 2.6 )
39+ faraday (~> 0.8 , < 1.0 )
40+ terminal-table (1.8.0 )
41+ unicode-display_width (~> 1.1 , >= 1.1.1 )
42+ unicode-display_width (1.3.0 )
43+
44+ PLATFORMS
45+ ruby
46+
47+ DEPENDENCIES
48+ danger
49+
50+ BUNDLED WITH
51+ 1.14.4
You can’t perform that action at this time.
0 commit comments