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:
parent
1bb5f43ebd
commit
dde8b3ca80
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue