Skip to content

Releases: archive/github-actions-slack

v2.3.0

14 Oct 21:26

Choose a tag to compare

Adds support for sending message to multiple channels:

....
slack-channel: CPPUV5KU0,C02HEBQP46T
....

This introduce a new output variable called slack-results (slack.result is still present)

v2.2.3

28 Sep 12:13
fab6d14

Choose a tag to compare

Update of yarn packages

v2.2.2

24 Aug 11:50
27663f2

Choose a tag to compare

Bump path-parse from 1.0.6 to 1.0.7 (#26)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v2.2.1

13 Jun 20:10
4dc5ae7

Choose a tag to compare

v2.2.0

13 Jun 19:31

Choose a tag to compare

  • Added a rudimentary support for updating posted messages (see .github/workflows/slack-update-message.yml)
  • Dependency updates

v2.1.0

31 May 20:20
f304add

Choose a tag to compare

Dependency updates

No new features :)

Dependencies

  • @actions/github latest 4.0.0 ❯ 5.0.0

DevDependencies

  • @vercel/ncc latest 0.26.2 ❯ 0.28.6
  • eslint latest 7.19.0 ❯ 7.27.0
  • eslint-config-prettier latest 7.2.0 ❯ 8.3.0
  • eslint-plugin-prettier latest 3.3.1 ❯ 3.4.0
  • jest latest 26.6.3 ❯ 27.0.3
  • prettier latest 2.2.1 ❯ 2.3.0

v2.0.1

08 Feb 06:34

Choose a tag to compare

Added sample action and updated readme on how to send thread responses

v2.0.0

07 Feb 20:44
f530f3a

Choose a tag to compare

What's new

  • Improved output from the action. It's now a plain json string (not wrapped in an array) with a response object, that contains all the things you need if you are later going to send a reaction to the message
{
  "statusCode": 200,
  "statusMessage": "OK",
  "ok": true,
  "result": "<deprecated - same as response but as string>",
  "response": {
    "ok": true,
    "channel": "XXXX",
    "ts": "1612623790.009600",
    "message": {
      "type": "message",
      "subtype": "bot_message",
      "text": "Lipsum",
      "ts": "1612623790.009600",
      "username": "Lipsum",
      "bot_id": "XXXX"
    }
  }
} 
  • Improved way of reporting errors to action runner

Breaking change

This is only important if you are parsing the result from the action

In v1.x there was a bug, that made the result of the action to be wrapped in an array. This made it hard to parse and to use the result from the action. Luckily the majority didn't care about the result :) .

But if you have a script the parse the slack-result, please use something like this to get the json values:

run: echo "${{ steps.send-message.outputs.slack-result }}"

or

run: echo "${{ fromJson(steps.send-message.outputs.slack-result).response.channel }}"

(See https://github.com/archive/github-actions-slack/blob/v2.0.0/.github/workflows/slack-reaction.yml)

v1.1.0

19 Nov 23:15

Choose a tag to compare

  • Changed ncc to @vercel/ncc

  • Upgrade of all dependencies

  • Small cleanups and readme improvements

v1.0.4

25 Sep 08:54
ad740a0

Choose a tag to compare