Skip to content

Commit

Permalink
fix: added summary (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 8, 2024
1 parent f198172 commit 07df395
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: simbo/msteams-message-card-action@latest
with:
webhook: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
summary: "${{github.event.workflow_run.event}}-${{github.event.workflow_run.status}}"
title: "${{github.event.workflow_run.head_commit.message}}"
color: 'ff69b4'
buttons: |
Expand All @@ -23,8 +24,6 @@ jobs:
title: ${{github.event.workflow_run.head_commit.committer.name}}
subtitle: ${{github.event.workflow_run.head_commit.timestamp}}
image: ${{github.event.workflow_run.head_repository.owner.avatar_url}}
summary: |
${{github.event.workflow_run.event}}-${{github.event.workflow_run.status}}
notify-teams-merged:
if: ${{github.event.workflow_run.event == 'push'}}
runs-on: ubuntu-22.04
Expand All @@ -50,6 +49,7 @@ jobs:
webhook: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
title: "${{github.event.workflow_run.head_commit.message}}"
color: '28a745'
summary: "${{github.event.workflow_run.event}}-${{github.event.workflow_run.status}}"
buttons: |
Pull Request ${{steps.pr.outputs.pr}} ${{github.event.workflow_run.repository.html_url}}/pull/${{steps.pr.outputs.pr}}
Diff ${{github.event.workflow_run.repository.html_url}}/pull/${{steps.pr.outputs.pr}}/files
Expand All @@ -59,5 +59,3 @@ jobs:
title: ${{github.event.workflow_run.head_commit.committer.name}}
subtitle: ${{github.event.workflow_run.head_commit.timestamp}}
image: ${{github.event.workflow_run.head_repository.owner.avatar_url}}
summary: |
${{github.event.workflow_run.event}}-${{github.event.workflow_run.status}}

0 comments on commit 07df395

Please sign in to comment.