netguru / bitrise-step-slack

A next-gen Slack webhook step for Bitrise
https://netguru.co/opensource
MIT License
3 stars 0 forks source link

Support for custom emoji/URL user icons #5

Open akashivskyy opened 8 years ago

akashivskyy commented 8 years ago

Support for custom emoji/URL user icons should be added.

There should be only one input option (icon) for setting a custom icon and step should determine itself whether the user meant to set an emoji or a URL.

input option json
icon: :bitrise: "icon_emoji": ":bitrise:"
icon: https://example.com/icon.png "icon_url": "https://example.com/icon.png"

The icon input option should have a default value of $SLACK_ICON.

If not given, the default icon should point to resources/icon.png at master branch so that it is consistent for all integrations.