ernanej/Action Discord Alerts
Send messages with Github Actions CI status to Discord
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhook | Discord webhook. | yes | — |
| status | Job status. Should be bound to job.status. Default to success. | no | ${{ job.status }} |
| content | Standard message outside the information card. Can be used to mention users. | no | — |
| title | For custom title only. By default it is filled with action job status. | no | — |
| description | For custom description only. By default it is filled with author and commit message. | no | — |
| image | Url of an Image that will be attached to the information card | no | — |
| thumbnail | Url of an thumbnail that will be attached to the information card | no | — |
| color | Overwrite the defined color for the info card highlight. By default this color is set by job status. | no | — |
| username | Overrides Discord webhook username. By default we have Github Action. | no | — |
| avatar_url | Overrides Discord webhook avatar url. By default we have Github image url. | no | — |
| event_info | Decide whether or not to display drill-downs for some information. By default it is shown. | no | true |
| timestamp | Controls whether to show the timestamp on the info card. Default pos is shown. | no | true |
| verbose | Controls the sampling of some information when the script runs. For example, the payload that is assembled before being sent to discord. | no | false |
| custom_fields | Make possible to specify any field do you want | no | — |
| hide_default_fields | Allows specifying custom fields. | no | — |
Outputs
no outputs