Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars committed Nov 12, 2024
1 parent 0f7828f commit 4352605
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/develop_ci_slack_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@ on:
jobs:
on-failure:
runs-on: ubuntu-latest
if: |
!(github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == 'skipped' ||
github.event.workflow_run.conclusion == 'cancelled')

steps:
- run: echo "${{ toJSON(github.event.workflow_run) }}"
- uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # pin@v2
with:
status: ${{ github.event.workflow_run.conclusion }}
notification_title: >
${{ github.event.workflow_run.name }} (${{ github.event.workflow.name }}) -
${{ github.event.workflow_run.conclusion }} on ${{ github.event.workflow_run.head_branch }}
message_format: |
:fire: *${{ github.event.workflow.name }}* ${{github.event.workflow_run.conclusion}}
:fire: *${{ github.event.workflow.name }}* ${{ github.event.workflow_run.conclusion }}
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}|View Failure>
author: ${{ github.event.workflow_run.head_commit.author.name }}
footer: |
${{ github.event.workflow_run.display_title }}
<${{ github.server_url }}/${{ github.repository }}/commit/${{github.event.workflow_run.head_commit.id}}>
<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.event.workflow_run.head_commit.id }}>
env:
SLACK_WEBHOOK_URL: ${{ secrets.DEV_BROKEN_CI_SLACK_WEBHOOK }}
if: |
!(github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == 'skipped' ||
github.event.workflow_run.conclusion == 'cancelled')

0 comments on commit 4352605

Please sign in to comment.