Change https://gerrit.wikimedia.org/r/#/c/171326/ shouldn't have to trigger bundle-rubocop.
Affects at least mediawiki-extensions-VisualEditor and oojs-ui repos, probably more.
Change https://gerrit.wikimedia.org/r/#/c/171326/ shouldn't have to trigger bundle-rubocop.
Affects at least mediawiki-extensions-VisualEditor and oojs-ui repos, probably more.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
rubocop: Run *-bundle-rubocop only if relevant files were modified | integration/config | master | +9 -0 |
Seems we should only trigger it when .rubocop.* or .rb files are changed.
In Zuul something like:
jobs:
The same files: statement would have to be added to any other rubocop jobs defined as non voting in the jobs section. Ie:
+ files: '(^\.rubocop\..*|.*\.rb$)'
Change 187805 had a related patch set uploaded (by Krinkle):
rubocop: Run *-bundle-rubocop only if relevant files were modified
Change 187805 merged by jenkins-bot:
rubocop: Run *-bundle-rubocop only if relevant files were modified
Confirmed that Rubocop still runs on e.g. https://gerrit.wikimedia.org/r/187166 which has a Ruby file.