Skip to content

Commit

Permalink
fix: using workflow notificaitons (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 27, 2023
1 parent 013abc7 commit 931db9f
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,27 @@ on:
- in_progess
- completed
jobs:
notify-teams:
notify-teams-in-progress:
runs-on: ubuntu-22.04
steps:
- uses: dchourasia/ms-teams-notification@1.0
- uses: jdcargile/ms-teams-notification@v1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
webhook-uri: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
show-on-error: true
enable-view-status: false
ms-teams-webhook-uri: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
notification-summary: |
Workflow: ${{github.event.workflow}}
Status: ${{github.event.type}}
notification-color: 17a2b8
timezone: America/Vancouver
notify-teams-complete:
runs-on: ubuntu-22.04
steps:
- uses: jdcargile/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
ms-teams-webhook-uri: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
notification-summary: |
Workflow: ${{github.event.workflow}}
Status: ${{github.event.type}}
notification-color: 28a745
timezone: America/Vancouver

0 comments on commit 931db9f

Please sign in to comment.