Skip to content

nakamuraos/google-chat-notifications

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

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

About

Sends a Google Chat notification.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.2%
  • JavaScript 3.8%