Skip to content

Commit

Permalink
ci: add google chat notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Dec 2, 2024
1 parent 5b00b42 commit 2649c88
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
commit_comment:
types: [created, edited, deleted]
push:
branches: [main]
pull_request:
types: [opened, edited, closed, reopened, synchronize]
deployment_status:
types: [success, failure, in_progress]
release:
types: [published, created, edited, deleted, prereleased, released]
workflow_run:
types: [completed, in_progress, requested]

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

steps:
- id: 'notify_google_chat'
uses: 'google-github-actions/[email protected]'
with:
webhook_url: '${{ secrets.WEBHOOK_URL }}'

0 comments on commit 2649c88

Please sign in to comment.