Skip to content

Commit

Permalink
fix: using gitub ref instead of pr number for title (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 2, 2024
1 parent 1ae87d5 commit 7e1dbd0
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 @@ -14,7 +14,7 @@ jobs:
- uses: simbo/msteams-message-card-action@latest
with:
webhook: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
title: "PR# ${{github.event.workflow_run.pull_requests[0].number}}"
title: "${{github.ref}}"
message: "${{github.event.workflow_run.head_commit.message}}"
color: ff69b4
buttons: |
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: simbo/msteams-message-card-action@latest
with:
webhook: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
title: "PR# ${{github.event.workflow_run.pull_requests[0].number}}"
title: "${{github.ref}}"
message: "${{github.event.workflow_run.head_commit.message}}"
color: 28a745
buttons: |
Expand Down

0 comments on commit 7e1dbd0

Please sign in to comment.