Skip to content

Commit

Permalink
fix: trying new notification style (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 28, 2023
1 parent e095da2 commit faf9974
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Notifications
on:
workflow_run:
workflows: [PR,Merge]
types:
- in_progess
- completed
jobs:
notify-teams-in-progress:
if: ${{github.action != 'completed'}}
Expand All @@ -21,7 +18,9 @@ jobs:
Diff https://github.com/bcgov/onroutebc/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
sections: |
-
text: ${{github.event.workflow_run.status}}
text: |
status: ${{github.event.workflow_run.status}}
action: ${{github.action}}
notify-teams-completed:
if: ${{github.action == 'completed'}}
runs-on: ubuntu-22.04
Expand All @@ -37,4 +36,6 @@ jobs:
Diff https://github.com/bcgov/onroutebc/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
sections: |
-
text: ${{github.event.workflow_run.status}}
text: |
status: ${{github.event.workflow_run.status}}
action: ${{github.action}}

0 comments on commit faf9974

Please sign in to comment.