simonscholz/Google Chat Notification Action
GitHub action to send highly customizable card V2 notifications to a google chat via webhook.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhookUrl | The webhook url of the google chat. Should be stored in an action secret. | yes | — |
| jobStatus | The optional jobStatus. Values can be success, failure, cancelled. You should pass job.status variable here. | no | — |
| title | Optional title. If not set it defaults to the action name. | no | — |
| subtitle | Optional subtitle. If not set the subtitle will not be shown. | no | — |
| imageUrl | Optional icon. If not set no icon will be shown. | no | — |
| imageType | Optional imageType (imageUrl must be set for this). Possible values are SQUARE and CIRCLE. If not set this will default to CIRCLE | no | — |
| imageAltText | Optional imageAltText. Alternative in case the image cannot be shown. | no | — |
| createDefaultSection | Optional createDefaultSection. Specify whether the default section should be shown or not. | no | true |
| collapsibleDefaultSection | Optional collapsibleSection. Specify whether the section is collapsible. | no | true |
| uncollapsibleWidgetsCount | Optional uncollapsibleWidgetsCount. Specify the amount of uncollapsible widgets within the sections. | no | 4 |
| additionalSections | Add the opportunity to have additional sections. | no | [] |
| threadName | Reply to a thread identified by this value. See https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#Thread for more information | no | — |
| threadKey | Create 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 | — |
Outputs
| name | description |
|---|---|
| threadName | Name 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. |