Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.66 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.66 KB

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/google-chat-notifications@v3.4.0
  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()