1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-21 15:54:22 +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: rubocop:
stage: linting stage: test
only:
- dev
image: registry.gitlab.com/pipeline-components/rubocop:latest image: registry.gitlab.com/pipeline-components/rubocop:latest
script: script:
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop - git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop