From 1b2a3f6c021d031b01a1de851b9206c7cc31e1ed Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Tue, 16 Apr 2024 11:39:38 +0200 Subject: [PATCH] temporary: remove slack notification on failure --- .github/workflows/generate-changelog.yml | 38 ------------------------ 1 file changed, 38 deletions(-) diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index daed041168..8b37bb5fef 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -34,42 +34,4 @@ jobs: git push fi - slack-notification: - needs: [generate-changelog] - if: ${{ !cancelled() && needs.generate-changelog.result == 'failure' }} - runs-on: ubuntu-latest - steps: - - name: Send Slack message - id: slack - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 - with: - payload: | - { - "text": "Automatic Changelog update failed", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "*Automatic Changelog update failed* ${{ secrets.SLACK_ONCALL_TAG }}" - } - }, - { - "type": "actions", - "elements": [ - { - "type": "button", - "text": { - "type": "plain_text", - "text": ":github: Failed action" - }, - "url": "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}" - } - ] - } - ] - } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK