github-unsubscriber

1.0.2 • Public • Published

github-unsubscriber

unwatch repositories in 1 action

# required repo:status, public_repo, notifications
#   from https://github.com/settings/tokens
$ export GITHUB_TOKEN=<your github personal access token place here>

# setup config
$ curl -L -o unsubscribe-config.yml https://raw.githubusercontent.com/vvakame/github-unsubscriber/master/unsubscribe-config.yml.sample
$ cat unsubscribe-config.yml
unwatch:
  # subscribed repository will be filtered by ... new RegExp(pattern).test(`${repo.owner.name}/${repo.name}`)
  rules:
    - foobar-org/
  ignores:
    - my-favorite-repo

$ npx github-unsubscriber
Below list will be unwatch...
    foobar-org/suddenly-created-repo
Let's use the --run option if you really want to unwatch...

$ npx github-unsubscriber --run
Below list will be unwatch...
    foobar-org/suddenly-created-repo
done!

Readme

Keywords

none

Package Sidebar

Install

npm i github-unsubscriber

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

25.1 kB

Total Files

18

Last publish

Collaborators

  • vvakame