Remove Slack failure notification from release workflow · Entire
Remove Slack failure notification from release workflow
fd4de21→main·
gtrrz-victor·2mo ago·1 file·+0 added/-32 removed
Failure signal already surfaced via GitHub Actions; Slack webhook adds noise and an extra secret dependency without value.
Sessions
6486f7ee4631View transcript
[?
ship itClaude Code·Opus 4.7[1m]·1 step](/content/gh/entireio/git-sync/session/e2e9cd06-7205-4def-ab92-a2295f72d4a0#timeline-6486f7ee4631/index.html)
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