Skip to content

Releases: 8398a7/action-slack

Support multiple users mention

27 Dec 06:00
Compare
Choose a tag to compare

Multiple users can be specified for mention or only_mention_fail, separated by commas.
It cannot be specified with group mentions such as here and channel.

  ...
  mention: user_id,user_id2
---
  ...
  only_mention_fail: user_id,user_id2

Support user mention

25 Dec 11:21
Compare
Choose a tag to compare

Until now, only here and channel were supported for mentions.
In v2.5.0 or later, you can mention by specifying user_id in mention or only_mention_fail.

Upgrade vulnerabilities package and Fix typo

24 Oct 11:46
Compare
Choose a tag to compare

fix README

21 Oct 13:24
a3883bc
Compare
Choose a tag to compare

Fixed typo of with key.

Change GITHUB_TOKEN for custom to optional

18 Oct 13:54
Compare
Choose a tag to compare

For custom notifications, tokens are not required, so they are optional.

Support for object eval

16 Sep 09:45
Compare
Choose a tag to compare

Until now, payload had to be written in json.
In v2.3.0 or later, payload can be described with javascript object.

As usual, there is no problem even if you write in json notation.

Support legacy incoming webhooks

14 Sep 13:13
Compare
Choose a tag to compare

Added support for legacy incoming webhooks.
This makes the following params available.

key value default description
username Only legacy incoming webhook supported. '' override the legacy integration's default name.
icon_emoji Only legacy incoming webhook supported. '' an emoji code string to use in place of the default icon.
icon_url Only legacy incoming webhook supported. '' an icon image URL string to use in place of the default icon.
channel Only legacy incoming webhook supported. '' override the legacy integration's default channel. This should be an ID, such as C8UJ12P4P.

Only when using legacy incoming webhooks url, you can specify the channel and change the user icon.

Replacing screenshot

13 Sep 17:34
Compare
Choose a tag to compare

Changed to v2 screenshot.

Simplified notation for slack notification

12 Sep 12:23
Compare
Choose a tag to compare

Changed to get the success / failure of actions from $ {{job.status}}.
This makes it unnecessary to define two types of if: success () and if: failure ().

Released as v2 because it contains destructive changes compared to v1.

Fix typo in failedMention

28 Aug 22:38
Compare
Choose a tag to compare

Fixed spelling mistakes in action.yml and main.ts.