Skip to content

Commit

Permalink
fix: adding summary and trying to properly ref pr (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 4, 2024
1 parent 881fbad commit 491fef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- completed
jobs:
notify-teams-pr:
if: ${{github.event.workflow_run.name == 'PR' && github.event.workflow_run.status == 'completed'}}
if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.status == 'completed'}}
runs-on: ubuntu-22.04
steps:
- uses: simbo/msteams-message-card-action@latest
Expand All @@ -31,7 +31,7 @@ jobs:
value: ${{github.event.workflow_run.status}}
summary: "${{toJSON(github.event.workflow_run)}}"
notify-teams-merged:
if: ${{github.event.workflow_run.name == 'Merge' && github.event.workflow_run.status == 'completed'}}
if: ${{github.event.workflow_run.event == 'push' && github.event.workflow_run.status == 'completed'}}
runs-on: ubuntu-22.04
steps:
- name: PR Number
Expand Down

0 comments on commit 491fef9

Please sign in to comment.