Skip to content

Commit

Permalink
Google chat notification
Browse files Browse the repository at this point in the history
  • Loading branch information
HiraiKyo committed Aug 8, 2024
1 parent a0b16ef commit 9a3a5fc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/google-chat-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Google Chat Notification

on:
pull_request:
types: [opened, reopened, closed]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send notification to Google Chat
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: |
Pull Request ${{ github.event.action }}:
${{ github.event.pull_request.title }}
${{ github.event.pull_request.html_url }}
webhook_url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9a3a5fc

Please sign in to comment.