Skip to content

Commit

Permalink
linting using intentional error
Browse files Browse the repository at this point in the history
  • Loading branch information
anosh-ar authored Jun 7, 2024
1 parent dd656fb commit 4d84063
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4d84063

Please sign in to comment.