Skip to content

Commit

Permalink
fix: trying new notification style (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 28, 2023
1 parent ed485ac commit 974ce7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- completed
jobs:
notify-teams-in-progress:
if: ${{github.action == 'in_progress'}}
runs-on: ubuntu-22.04
steps:
- uses: simbo/msteams-message-card-action@latest
Expand All @@ -25,8 +24,14 @@ jobs:
activitySubtitle: ${{github.event.workflow_run.head_commit.committer.date}}
activityImage: https://github.com${{github.event.workflow_run.head_commit.committer.username}}.png
facts:
- name: "Pull Requests:"
- name: "Github"
value: ${{toJsongithub}}
- name: "Action"
value: ${{github.action}}
- name: "Pull Requests"
value: ${{toJson(github.event.workflow_run.pull_requests)}}
- name: "Event"
value: ${{toJson(github.event)}}
text: ${{github.event.workflow_run.head_commit.message}}
notify-teams-completed:
if: ${{github.action == 'completed'}}
Expand Down

0 comments on commit 974ce7d

Please sign in to comment.