Merge pull request #28 from entireio/delete-slack-boot-notifications · Entire
Merge pull request #28 from entireio/delete-slack-boot-notifications
8a54c3e→main·
gtrrz-victor·2mo ago·1 file·+0 added/-32 removed
Remove Slack failure notification from release workflow
Changes
1
.github/workflows
Mrelease.yml-32
67 unmodified lines
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
67 unmodified lines
MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }}
MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }}
notify-slack:
runs-on: ubuntu-latest
needs: [release]
if: ${{ always() && needs.release.result == 'failure' }}
steps:
- name: Notify Slack of release failure
uses: slackapi/slack-github-action@03ea5433c137af7c0495bc0cad1af10403fc800c # v3.0.2
with:
webhook: ${{ secrets.E2E_SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
{
"blocks": [\
{\
"type": "section",\
"text": {\
"type": "mrkdwn",\
"text": ":red_circle: *Release Failed* for `${{ env.RELEASE_TAG }}`\n\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run details>"\
}\
},\
{\
"type": "context",\
"elements": [\
{\
"type": "mrkdwn",\
"text": "Tag: `${{ env.RELEASE_TAG }}` by ${{ github.actor }}"\
}\
]\
}\
]
}
M.github/workflows/release.yml-32