From 4d8406390980429450d51ab3f28724131dee9fc2 Mon Sep 17 00:00:00 2001 From: anosh-ar <115220756+anosh-ar@users.noreply.github.com> Date: Fri, 7 Jun 2024 15:38:05 +0330 Subject: [PATCH] linting using intentional error --- .github/workflows/lint.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 532f38f7..6f911380 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -47,8 +47,3 @@ jobs: curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"Critical linting errors found in the code. Please check the logs for details:\n\`\`\`$ERROR_MSG\`\`\`\"}" ${{ secrets.SLACK_WEBHOOK_URL }} fi - #- name: Send Slack notification on failure - # if: steps.pylint_check.outcome == 'failure' - # run: | - # ERROR_MSG=$(grep -E "E[0-9]+" pylint_report.txt) - # curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"Critical linting errors found in the code. Please check the logs for details:\n\`\`\`$ERROR_MSG\`\`\`\"}" ${{ secrets.SLACK_WEBHOOK_URL }}