Skip to content

jmertic/slack-release-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Release Notifier

Provides rich notifications to a specific Slack channel for releases

Usage

name: Publish Release Notice to Slack

on:
  release:
    types:
      - released

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

    steps:
    - name: Notify Slack
      id: slack
      with:
        # Project Name
        project_name: "My Project"
        # Slack Bot Token; follow instructions to get one at
        # https://api.slack.com/tutorials/tracks/getting-a-token
        # with scopes 'channels:read' and 'chat:write'
        slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
        # Slack Channel to post to
        # Note: Each channel listed must have the Slack App connected to the
        # Slack Bot Token above added to it. More information at
        # https://slack.com/help/articles/360001537467-Guide-to-apps-in-Slack#find-apps
        slack_channel: "#release-announcements"
        # Project Logo
        project_logo: "URL TO PROJECT LOGO"
      uses: jmertic/slack-release-notifier@main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published