diff --git a/.github/workflows/pylint_nautobot.yml b/.github/workflows/pylint_nautobot.yml index 0551b08..48e8265 100644 --- a/.github/workflows/pylint_nautobot.yml +++ b/.github/workflows/pylint_nautobot.yml @@ -49,36 +49,3 @@ jobs: - name: "Linting: pylint" # TBD: Replace with `develop` branch before merging run: "poetry run invoke pylint --ref=u/snaselj-fix-deps" - slack-notify: - needs: "latest-pylint-nautobot" - if: | - failure() - runs-on: "ubuntu-22.04" - env: - SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" - SLACK_MESSAGE: >- - *NOTIFICATION: FAILED-LATEST-PYLINT-NAUTOBOT*\n - Repository: <${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}>\n - Run Details: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Run details> - steps: - - name: "Send a notification to Slack" - if: | - env.SLACK_WEBHOOK_URL != '' - uses: "slackapi/slack-github-action@v1" - with: - payload: | - { - "text": "${{ env.SLACK_MESSAGE }}", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "${{ env.SLACK_MESSAGE }}" - } - } - ] - } - env: - SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" - SLACK_WEBHOOK_TYPE: "INCOMING_WEBHOOK"