Files
github-releases-to-discord/action.yml
T
Shon f228faeb5e Implement more functions (#20)
* 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
2023-09-23 12:18:00 -04:00

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