Skip to content

Script to unwatch all repositories of one organization in github.

License

Notifications You must be signed in to change notification settings

pyanderson/github-unwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Unwatch

Dependencies

Configuration

Install

$ pip install -r requirements.txt

Authentication token

Generate a new token in personal access tokens github page.

Run

Using option:

$ python unwatch.py ORG --token <TOKEN>

Or using env var:

export GITHUB_TOKEN=<TOKEN>
$ python unwatch.py ORG

Safelist

If exists some repositories that you don't want unwatch, create a txt or json file named safelist.(txt|json) and put in all repositories that should not be touched.

Text file example:

repo1
repo2
repo3

Json file example:

[
    "repo1",
    "repo2",
    "repo3"
]

obs: All safelists will be read, so if exists a safelist.txt and safelist.json the script will merge both in one list.

About

Script to unwatch all repositories of one organization in github.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages