I decided to unwatch many repos in multiple organizations. Here are two scripts that I wrote to make that possible. It works like:
- I load GitHubAccessToken in my environment, an environment variable that gives these access
- I run
node get-all-watched.js > all-watching.txt
to dump all watching into a text file - Run
grep "^developmentseed" all-watching > developmentseed.txt
, for instance, to make a text file of only repos in the developmentseed org that I'm watching - Run
node unwatch-file-of-repos.js developmentseed.txt
to unwatch all those repos.