diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5be0630..cdda56a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,29 +97,27 @@ jobs: uses: slackapi/slack-github-action@v1.23.0 with: payload: | - { - "attachments": [ - { - "color": "#CC0000", - "fallback": "Unsuccessful bitnami/minideb CI pipeline", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "*Unsuccessful `bitnami/minideb` CI pipeline*" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "The CI pipeline for <${{ github.event.head_commit.url }}|bitnami/minideb@${{ github.event.head_commit.id }}> did not succeed. Check the related <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|action run> for more information." - } - } - ] + { + "text": "*Unsuccessful `bitnami/minideb` CI pipeline*", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Unsuccessful `bitnami/minideb` CI pipeline*" } - ] - } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "The CI pipeline for <${{ github.event.head_commit.url }}|bitnami/minideb@${{ github.event.head_commit.id }}> did not succeed. Check the related <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|action run> for more information." + } + } + ] + } + + env: - SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.TEST_CI_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK