Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 877 Bytes

README.md

File metadata and controls

52 lines (37 loc) · 877 Bytes

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.