Skip to content

Commit

Permalink
Fix Slack posting
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <[email protected]>
  • Loading branch information
dhaiducek authored and openshift-merge-bot[bot] committed Nov 25, 2024
1 parent f22e012 commit 0145158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ jobs:
./framework/build/periodic-slack-report.sh
- uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
SLACK_WEBHOOK_URL: ${{ secrets.E2E_SLACK_WEBHOOK }}
with:
webhook: ${{ secrets.E2E_SLACK_WEBHOOK }}
webhook-type: incoming-webhook
payload-file-path: artifacts/slack-payload.json
4 changes: 2 additions & 2 deletions .github/workflows/repo-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ jobs:
- name: Send result to Slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
SLACK_WEBHOOK_URL: ${{ secrets.CODE_HEALTH_SLACK_WEBHOOK }}
OCM_RESULT:
${{ contains(needs.clusteradm.result, 'failure') && 'no_entry' ||
contains(needs.cluster.result, 'cancelled') && 'warning' || 'white_check_mark' }}
with:
webhook: ${{ secrets.CODE_HEALTH_SLACK_WEBHOOK }}
webhook-type: incoming-webhook
payload: |
{
"blocks": [
Expand Down

0 comments on commit 0145158

Please sign in to comment.