simonscholz/Google Chat Notification Action

GitHub action to send highly customizable card V2 notifications to a google chat via webhook.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
webhookUrlThe webhook url of the google chat. Should be stored in an action secret.yes
jobStatusThe optional jobStatus. Values can be success, failure, cancelled. You should pass job.status variable here.no
titleOptional title. If not set it defaults to the action name.no
subtitleOptional subtitle. If not set the subtitle will not be shown.no
imageUrlOptional icon. If not set no icon will be shown.no
imageTypeOptional imageType (imageUrl must be set for this). Possible values are SQUARE and CIRCLE. If not set this will default to CIRCLEno
imageAltTextOptional imageAltText. Alternative in case the image cannot be shown.no
createDefaultSectionOptional createDefaultSection. Specify whether the default section should be shown or not.notrue
collapsibleDefaultSectionOptional collapsibleSection. Specify whether the section is collapsible.notrue
uncollapsibleWidgetsCountOptional uncollapsibleWidgetsCount. Specify the amount of uncollapsible widgets within the sections.no4
additionalSectionsAdd the opportunity to have additional sections.no[]
threadNameReply to a thread identified by this value. See https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#Thread for more informationno
threadKeyCreate or reply to a thread identified by this value. For replying to a thread this message must be sent by the same Google Chat user as the initial message.no
namedescription
threadNameName of thread created by this message. Can be used as input "threadName" for subsequent calls to this action to have follow-up messages in a thread.