Skip to content

Commit

Permalink
fix: trying new notification style (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 29, 2023
1 parent 0cb8be3 commit 201d4e9
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 @@ -4,7 +4,7 @@ on:
workflows: [PR,Merge]
jobs:
notify-teams-in-progress:
if: ${{github.event.workflow_run.status != 'completed'}
if: ${{github.event.workflow_run.status != 'completed'}}
runs-on: ubuntu-22.04
steps:
- uses: simbo/msteams-message-card-action@latest
Expand All @@ -24,9 +24,8 @@ jobs:
image: https://github.com${{github.event.workflow_run.head_commit.committer.username}}.png
text: |
status: ${{github.event.workflow_run.status}}
action: ${{github.action}}
notify-teams-completed:
if: ${{github.event.workflow_run.status == 'completed'}
if: ${{github.event.workflow_run.status == 'completed'}}
runs-on: ubuntu-22.04
steps:
- uses: simbo/msteams-message-card-action@latest
Expand All @@ -46,4 +45,3 @@ jobs:
image: https://github.com${{github.event.workflow_run.head_commit.committer.username}}.png
text: |
status: ${{github.event.workflow_run.status}}
action: ${{github.action}}

0 comments on commit 201d4e9

Please sign in to comment.