mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-07 20:03:23 +00:00
* Send the release title instead of version & remove the `Release` text * Ability to use the existing Discord user & avatar * fix * Support for adding a footer * Update index.js * Update index.js * Update index.js * Updated docs * Support for footer timestamps * Support for sending normal text above the embed useful for pings
35 lines
943 B
YAML
35 lines
943 B
YAML
name: Github Releases To Discord
|
|
author: SethCohen
|
|
description: Automatically send a stylized Discord webhook of a GitHub Release description to a specified Discord channel.
|
|
inputs:
|
|
webhook_url:
|
|
description: Discord's webhook url. Use GH repo secrets.
|
|
required: true
|
|
color:
|
|
description: Decimal color value for embed.
|
|
required: false
|
|
default: '2105893'
|
|
username:
|
|
description: String username for webhook.
|
|
required: false
|
|
avatar_url:
|
|
description: String url to webhook avatar picture.
|
|
required: false
|
|
content:
|
|
description: String content for webhook.
|
|
required: false
|
|
footer_title:
|
|
description: Title for the footer.
|
|
required: false
|
|
footer_icon_url:
|
|
description: Icon url for the footer.
|
|
required: false
|
|
footer_timestamp:
|
|
description: Timestamp for the footer.
|
|
required: false
|
|
runs:
|
|
using: 'node16'
|
|
main: 'index.js'
|
|
branding:
|
|
icon: file-text
|
|
color: blue |