Sends a Google Chat notification.
This repository is generated by typescript-action.
Name | Required | Default | Description |
---|---|---|---|
title | "Build" | Job title. Used for notification titles. | |
subtitle | Job subtitle. Used for notification subtitles. We recommend using ${{ github.event.head_commit.message }} |
||
webhookUrl | ✅ | Google Chat Webhook URL. | |
status | ✅ | Job status. Available values are success , failure , cancelled . We recommend using ${{ job.status }} |
|
threadKey | Thread key string. Used for send messages to a specific thread in a space |
- name: Google Chat Notification
uses: nakamuraos/[email protected]
with:
title: Build
subtitle: ${{ github.event.head_commit.message }}
webhookUrl: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
status: ${{ job.status }}
threadKey: ${{ secrets.GOOGLE_CHAT_THREAD_KEY }}
if: always()