Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Automate subscription of slack to GitHub repositories

License

Notifications You must be signed in to change notification settings

InsolvencyService/github-subscribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-subscribe

Automate subscription of slack to GitHub repositories utilising GitHub + Slack Integration App

Getting Started

Prerequisites

  • Python 2.x/3.x - tested against 2.7.12/3.6.9
  • PIP
  • A repository list - see contrib/sample-repolist.txt

Installing

There is no installer but some pip modules are required

pip install -r requirements.txt

Replace your-slack-token with a legacy slack token in github-subscribe.py

slack = Slacker('your-slack-token')

Replace GithubOrganisation with the one it should work against

ftext = "GithubOrganisation/" + text

Copy sample-repolist.txt from contrib/ and update with a repo list and run

python github-subscribe.py

Built With

  • Slacker - Full-featured Python interface for the Slack API

Contributing

This code is not officially maintained and PRs are not likely to be actioned. Forks are encouraged.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

About

Automate subscription of slack to GitHub repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages