Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.
/ github-hooks Public archive

Configure the GitHub hooks for all repositories in an organization.

Notifications You must be signed in to change notification settings

educreations/github-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Configure GitHub Hooks

This script will quickly set up post commit hooks on all repositories in an organization (or a user if you change a line).

Requirements

Install the requirements for the script with:

pip install -r requirements.txt

Running

To run the script, you will need several environment variables defined. These are:

  • GITHUB_USER
  • GITHUB_PASSWORD
  • GITHUB_ORGANIZATION

You can easily define them when running the script with:

GITHUB_USER='streeter' GITHUB_PASSWORD='XXXXX' GITHUB_ORGANIZATION='some-org' ./setup_hooks.py

Or, you can set them as arguments to the setup_hooks.py script. Run the script with the -h option to see them all.

About

Configure the GitHub hooks for all repositories in an organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages