Not Your Dad's IT

Updated Solutions to Classic Challenges

A personal website dedicated to helping IT professionals review where we've been, where we are, and maybe where we are headed.

  • Blog
  • About
  • Disclaimer
Slack_and_Github_Logo_v1.png

Slack and Github Integration

April 16, 2018 by Nathaniel Avery in Tip

Slack, and the new wave of enterprise chat applications like it, show their value through integration with other tools.  One of the most popular integrations is with GitHub.  The Github app for Slack documents select GitHub actions in a Slack channel.  With the actions logged in a Slack channel teams don't have to jump between tools to look for for status updates.  Moreover, teams can search through Slack's logs for history related to commits, issues, pulls, etc. for a project.

The instructions for installing the App are located at https://get.slack.help/hc/en-us/articles/232289568-GitHub-for-Slack . I have attempted to walk through those same instructions an log my notes along the way.

Slack_plus_Github_01.PNG

The connectivity is just as simple as it says it is.    ***Note *** if you belong to more than one Slack group, then you will need to logon to the correct one before add the app.

Slack_plus_Github_02.PNG

There's a choice of selecting which channel or channels to post messages into and add slash commands.  I chose to create a separate channel specifically for these messages.

Slack_plus_Github_03.PNG

And that's about it.  Slack will then inform you that it's all ready to go!

Slack_plus_Github_04.PNG

Join to a repository using the /github subscribe <owner>/channel.  Join the repository from within the channel where you want to see the messages.

Slack_plus_Github_06.PNG

There is a redirect to the GitHub website after pressing "Connect to GitHub.

Slack_plus_Github_05.PNG

Two things happen at this point. 

  1. A success message appears in Slack.
Slack_plus_Github_07.PNG

 

2. GitHub asks for which repositories should be connected.

Slack_plus_Github_08.PNG

Then, there's a final success message

Slack_plus_Github_09.PNG

The GitHub app will now display updates inside of Slack.

Slack_plus_Github_10.PNG

 

 

April 16, 2018 /Nathaniel Avery
slack, github, devops, ChatOps
Tip
  • Newer
  • Older

Powered by Squarespace