Skip to content

mbaynton/github-commit-alert

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 

github-commit-alert

This script watches designated repositories on github.com for new commits, and emails the addresses specified in config.yml when commits appear.

The closest option github currently offers through the web UI, at least for repositories you do not own, seems to send you everything on a repository, making for a very noisy inbox.

Requirements and Setup

  • This php script requires php 5.6+
  • There are dependencies on external php libraries. To download them you'll need to run composer install.
  • Copy config.yml.dist to config.yml and edit email settings as desired.

Usage

  • Add the repository EnterpriseQualityCoding/FizzBuzzEnterpriseEdition to those watched:
    ./bin/github-commit-alert.php EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
  • Recheck all watched repositories:
    ./bin/github-commit-alert.php
    (no options or operands.)
    You can run this script as often as you like, ETag caching should prevent you from hitting github API throttling limits.
  • Additional functionality as documented in internal help:
    ./bin/github-commit-alert.php -h

License

MIT
© 2016 Michael Baynton

About

Generates mail when new commits are pushed to designated public github repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages