$ pip install -r requirements.txt
Generate a new token in personal access tokens github page.
Using option:
$ python unwatch.py ORG --token <TOKEN>
Or using env var:
export GITHUB_TOKEN=<TOKEN>
$ python unwatch.py ORG
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.