File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed 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"
1+ # Ideas...
2+ # 1. Check for hashtags in PR title, and disallow changes to changelog?
3+ # e.g. github.pr_title.include? "#trivial"
44
55# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
66warn ( "PR is classed as Work in Progress" ) if github . pr_title . include? "[WIP]"
@@ -9,5 +9,5 @@ warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
99warn ( "Big PR" ) if git . lines_of_code > 500
1010
1111# 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
12+ raise ( "fdescribe left in tests" ) if `grep -r fdescribe specs/ ` . length > 1
13+ raise ( "fit left in tests" ) if `grep -r fit specs/ ` . length > 1
You can’t perform that action at this time.
0 commit comments