Skip to content

Company formatted Github notifications to Slack channels

License

Notifications You must be signed in to change notification settings

inetstudio/github-to-slack-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action Workflow Results to Slack

Send data into Slack using this GitHub Action and Slack App!

image info

This package sends data via a Slack app to post to a specific channel using predefined payload (Slack Bitbucket cloud style).

Bot token is needed!

For additional information see here!

Usage

Add this Action as a step to your project's GitHub Action Workflow file:

- name: Workflow notification to a Slack channel
  id: wf-to-slack
  uses: inetstudio/github-to-slack-action@v1.4.1
  with:
    # Slack channel id, channel name, or user id to post message.
    channel-id: 'CHANNEL_ID'
    # Secret App token from OAuth & Permissions page
    bot-token: 'BOT_TOKEN'
  env:
    FAILED_RUN: ${{ contains(needs.*.result, 'failure') }}

❗️ You need to fill needs: in this step, action will get a workflow status from selected steps.

License

The scripts and documentation in this project are released under the MIT License

About

Company formatted Github notifications to Slack channels

Resources

License

Stars

Watchers

Forks

Packages

No packages published