Skip to content
package

GitHub Action

Slack Release Notifier

v2.1.0 Latest version

Slack Release Notifier

package

Slack Release Notifier

Notify a slack channel about a new release

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Slack Release Notifier

uses: fedecalendino/slack-release-notifier@v2.1.0

Learn more about this action in fedecalendino/slack-release-notifier

Choose a version

slack-release-notifier

Simple action to notify a slack channel after a new version of a project has been released.

Usage

workflow.yml

name: Release

on:
  release:
    types:
      - created

jobs:
  publish:
    runs-on: ubuntu-latest
    timeout-minutes: 5

    steps:
    - name: Notify Slack
      id: slack
      with:
        slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
      uses: fedecalendino/slack-release-notifier@v1.2.1

SetUp

To be able to send the notification, a webhook url needs to be provided. You can get one by installing the app Incoming WebHooks into your slack workspace.

Result

Slack Notificator