Skip to content

Commit

Permalink
fix: using workflow notificaitons (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 27, 2023
1 parent 931db9f commit 5858ef0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
- in_progess
- completed
jobs:
notify-teams-in-progress:
notify-teams:
runs-on: ubuntu-22.04
steps:
- uses: jdcargile/[email protected]
if:
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}}
Event: ${{github.event}}
Workflow: ${{github.event.workflow}} - ${{github.workflow}}
Type: ${{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}}
Event: ${{github.event}}
Workflow: ${{github.event.workflow}} - ${{github.workflow}}
Type: ${{github.event.type}}
notification-color: 28a745
timezone: America/Vancouver

0 comments on commit 5858ef0

Please sign in to comment.