Skip to content

Commit bb66f51

Browse files
authored
Merge pull request #7281 from NlightNFotis/fix_homebrew_pr_notif
[CI] Fix slack notification for homebrew PR release job
2 parents 8986442 + 4934f0c commit bb66f51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,14 @@ jobs:
190190
- name: Checkout CBMC project source code to obtain access to scripts
191191
if: always()
192192
uses: actions/checkout@v3
193-
- name: Install golang toolchain to run the notification step
194-
if: always()
195-
run: brew install go
196193
- name: Slack notification of CI status
197194
if: success() || failure()
198195
env:
199196
SLACK_CHANNEL: team_open_source
200197
SLACK_COLOR: ${{ job.status }}
201198
SLACK_USERNAME: Github Actions CI bot
202199
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
200+
SLACK_MESSAGE: "${{ job.status == 'success' && 'Homebrew PR submitted successfully' || 'Homebrew PR failed' }}"
203201
run: go run scripts/slack_notification_action.go
204202

205203
windows-msi-package:

0 commit comments

Comments
 (0)