Skip to content
send

GitHub Action

google-chat-notifications

v3.4.0 Latest version

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 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

Examples

- 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()