diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a400529..a1d2f1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,8 @@ lint: - black --check . - pylint portainer.py - rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp - + rules: + - if: '$CI_COMMIT_MESSAGE =~ /lint/' build-job: # This job runs in the build stage, which runs first. stage: build script: