1
0
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:
Sylvain 2022-07-13 11:04:24 +02:00
parent 42472402c9
commit c05e42c2b1

View File

@ -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