From cf2889507da41a9070b30e10dabc96a768c50489 Mon Sep 17 00:00:00 2001 From: "Saralegui Vallejo, Unai" <unai.saralegui@tecnalia.com> Date: Wed, 12 May 2021 10:45:49 +0000 Subject: [PATCH] Update pylint.yml --- python-packages/pylint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-packages/pylint.yml b/python-packages/pylint.yml index 622c7fe..e093552 100644 --- a/python-packages/pylint.yml +++ b/python-packages/pylint.yml @@ -12,6 +12,12 @@ pylint: - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log) - anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - echo "Pylint score is $PYLINT_SCORE" + only: + refs: + # run only when new tag is published or changes pushed to master + - tags + - master + artifacts: paths: - ./pylint/ -- GitLab