Skip to content

Neolution GitHub Release Notifier

Actions
This action notifies the release of a new version to a Slack channel
v1.4.0
Latest
Star (0)

Release Notifier

This is a simple action that will get a GitHub release and post it somewhere. For now only slack is supported, but in the future we might add more providers.

Usage

The easiest way to use this action is to use it with the on: release: trigger. Than you don't have to manually get the release id. All you need to pass in this case is the slack token and slack channel ids.

on:
  release:
    types: [published]

jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - uses: "neolution-ch/action-release-notifier@v1"
        with:
          slack-token: ${{ secrets.SLACK_RELEASE_NOTIFIER_TOKEN }}
          slack-channel-ids: "XXXXXXXXX,YYYYYYYY"

Slack Token

To get a slack token you need to create a slack app. You can find more information about that here.

If you want to post to channels (not only to users) you need to make sure that the app is added to the channels you want to post to (under the integrations tab of channel).

Inputs

You can find a detailed description of the input parameters in the action.yml file.

Required Name Default
✔️ slack-token -
✔️ slack-channel-ids -
✖️ github-token ${{ github.token }}
✖️ repo ${{ github.repository }}
✖️ include-release-notes true
✖️ release-id -
✖️ ignore-alpha-releases false
✖️ ignore-beta-releases false
✖️ ignore-rc-releases false
✖️ fallback-to-ref false

Neolution GitHub Release Notifier is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action notifies the release of a new version to a Slack channel
v1.4.0
Latest

Neolution GitHub Release Notifier is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.