spec: stop linting for webpack topics

Change-Id: I8f3e0755de137a79fba477edeab23bd614e32c4d
Reviewed-on: https://gerrit.instructure.com/105458
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
Tested-by: Jenkins
This commit is contained in:
Jon Jensen 2017-03-16 16:16:31 -06:00
parent 1bb5f43ebd
commit dde8b3ca80
1 changed files with 0 additions and 10 deletions

View File

@ -127,13 +127,3 @@ has_a_test_plan = commit_message =~ /test[ -]plan/i
unless has_a_test_plan
comment "warn", 3, "y u no add test plan? ლ(ಠ益ಠლ)"
end
references_webpack = commit_message =~ /webpack/i
gerrit_topic = ENV["GERRIT_TOPIC"]
has_webpack_topic = gerrit_topic && gerrit_topic =~ /webpack/i
if references_webpack && !has_webpack_topic
comment "warn", 3,
"looks like your commit is webpack related." \
" trigger webpack builds by pushing to the webpack topic:" \
" `git push origin HEAD:refs/for/master/webpack`"
end