Skip to content

Commit 50fab3a

Browse files
ci: drop explanatory comments from the notify job
1 parent 92eadcf commit 50fab3a

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/weekly-release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ jobs:
8282
- version
8383
- release
8484
steps:
85-
# Check the webhook before handing it to the action. An unset or blank secret otherwise
86-
# fails with "Missing input! Either a method or webhook is required to take action.",
87-
# which reads like a workflow syntax bug rather than a missing secret -- that is how the
88-
# Aug 28 alert was lost.
8985
- name: Verify the Slack webhook is configured
9086
env:
9187
WEBHOOK: ${{ secrets.COSY_WEBHOOK_URL }}
@@ -99,19 +95,11 @@ jobs:
9995
- name: "Send Message"
10096
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
10197
env:
102-
# Single-quoted so \n stays a two-character escape. In a double-quoted YAML scalar it
103-
# becomes a real newline, which lands unindented inside the payload below and breaks
104-
# parsing under the stricter js-yaml v5 rules that slack-github-action v4 ships.
10598
MESSAGE: '_*Weekly RIE release failed*_ :turtle-headache::broken_heart:\n\nNo new pre-release was published, so CVE remediation is stalled until this is fixed. Investigate the failed workflow run <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here> :mag_right:'
10699
with:
107100
webhook: ${{ secrets.COSY_WEBHOOK_URL }}
108101
webhook-type: incoming-webhook
109-
# Default is false, which swallows Slack-side delivery errors and reports the step as
110-
# green. For the alert that tells us releases are broken, a silent failure is the one
111-
# outcome we cannot afford.
112102
errors: true
113-
# JSON rather than YAML: an interpolated message cannot break the document structure,
114-
# and \n inside a JSON string is exactly the newline Slack mrkdwn wants.
115103
payload: |
116104
{
117105
"blocks": [

0 commit comments

Comments
 (0)