Skip to content

Receive Slack notifications for new releases of your favorite software on GitHub or Gitlab.

License

Notifications You must be signed in to change notification settings

magmel48/github-releases-notifier

 
 

Repository files navigation

github-releases-notifier

Receive Slack notifications if a new release of your favorite software is available on GitHub or Gitlab.

screenshot.png

Watching repositories

To watch repositories simply add them to the list of arguments -r=github.com/kubernetes/kubernetes -r=gitlab.com/tezos/tezos and so on.

Deploying

  1. Get a URL to send WebHooks to your Slack from https://api.slack.com/incoming-webhooks.
  2. Get a token for scraping GitHub: https://help.github.com/.

Docker

docker run --rm -e GITHUB_AUTH_TOKEN=XXX GITLAB_AUTH_TOKEN=YYY -e SLACK_HOOK=https://hooks.slack.com/... justwatch/github-releases-notifier -r=github.com/kubernetes/kubernetes

docker-compose

  1. Change into the deployments/ folder.
  2. Open docker-compose.yml
  3. Change the token in the environment section to the ones obtained above.
  4. docker-compose up

Kubernetes

kubectl create secret generic github-releases-notifier \
        --from-literal=github=XXX \
        --from-literal=gitlab=XXX \
        --from-literal=slack=XXX

After creating the secret with your credentials you can apply the deployment:

kubectl apply -f deployments/kubernetes.yml

That's it.

About

Receive Slack notifications for new releases of your favorite software on GitHub or Gitlab.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 87.2%
  • Makefile 9.6%
  • Dockerfile 1.8%
  • Shell 1.4%