diff --git a/.drone.yml b/.drone.yml index ea1ccd0..697697f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,10 +13,10 @@ steps: - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - bandit -r . - - name: ms-teams - image: kuperiu/drone-teams - settings: - webhook: - from_secret: TEAMS_WEBHOOK - when: - status: [ failure ] \ No newline at end of file +- name: ms-teams + image: kuperiu/drone-teams + settings: + webhook: + from_secret: TEAMS_WEBHOOK + when: + status: [ failure ] \ No newline at end of file