Skip to content

Commit

Permalink
ci: update notification to use a different GH action (#23)
Browse files Browse the repository at this point in the history
Switch the a new GH action that better supports PR and push
notifications.

https://github.com/SimonScholz/google-chat-action

Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Jan 2, 2025
1 parent 03ab45b commit 121109b
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
name: Notifications

on:
issue_comment:
types: [created, edited, deleted]
push:
branches: [main]
pull_request:
types: [opened, edited, closed, reopened, synchronize]
deployment_status:
release:
push:
branches:
- main
- beta
- qa

jobs:
notify:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'

steps:
- id: 'notify_google_chat'
uses: 'google-github-actions/send-google-chat-[email protected]'
with:
webhook_url: '${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}'
- name: Notify Google Chat
uses: SimonScholz/google-chat-action@main
with:
webhook_url: '${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}'

0 comments on commit 121109b

Please sign in to comment.