Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
send

GitHub Action

google-chat-notifications

v3.0.0

google-chat-notifications

send

google-chat-notifications

Google Chat Notifications for GitHub Actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: google-chat-notifications

uses: nakamuraos/[email protected]

Learn more about this action in nakamuraos/google-chat-notifications

Choose a version

Google Chat Notification for GitHub Actions

Sends a Google Chat notification.

This repository is generated by typescript-action.

Preview

Usage

Parameters

Name Required Description
title true Job title. Used for notification titles.
subtitle false Job subtitle. Used for notification subtitles. We recommend using ${{ github.event.head_commit.message }}
webhookUrl true Google Chat Webhook URL.
status true Job status. Available values are success, failure, cancelled. We recommend using ${{ job.status }}
threadKey false Thread key string. Used for send messages to a specific thread in a space

Examples

- name: Google Chat Notification
  uses: nakamuraos/[email protected]
  with:
    title: Build
    webhookUrl: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
    status: ${{ job.status }}
    threadKey: ${{ secrets.GOOGLE_CHAT_THREAD_KEY }}
  if: always()