matmar10 / slack-release

Automatically post beautiful release notes to Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Action Publish Release Notes to Slack

  • Converts to Slack markdown
  • Splits into sections (Slack has a character limit)
  • Removes duplicate version header

Quick Start

name: Publish Release Notes to Slack

name: Action self-test

on:
  release:
    types: [published]

jobs:
  test-action:
    name: Publish release to Notion
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: matmar10/slack-release@v2
        with:
          # Your Slack webhook URL:
          # https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZ
          slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

That's it! Publish your release, and enjoy.

About

Automatically post beautiful release notes to Slack

License:MIT License


Languages

Language:JavaScript 100.0%