mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
run linter only on dev
This commit is contained in:
parent
42472402c9
commit
c05e42c2b1
@ -1,5 +1,7 @@
|
||||
rubocop:
|
||||
stage: linting
|
||||
stage: test
|
||||
only:
|
||||
- dev
|
||||
image: registry.gitlab.com/pipeline-components/rubocop:latest
|
||||
script:
|
||||
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
||||
|
Loading…
x
Reference in New Issue
Block a user