https://github.com/yukihane/github-unwatch-repositories
Batch script for unwatching GitHub repositories targeting by regex
https://github.com/yukihane/github-unwatch-repositories
github
Last synced: about 1 month ago
JSON representation
Batch script for unwatching GitHub repositories targeting by regex
- Host: GitHub
- URL: https://github.com/yukihane/github-unwatch-repositories
- Owner: yukihane
- Created: 2022-05-11T19:13:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-15T17:02:05.000Z (about 4 years ago)
- Last Synced: 2025-04-12T21:39:16.842Z (about 1 year ago)
- Topics: github
- Language: Shell
- Homepage: https://yukihane.github.io/blog/202205/15/github-unwatch/
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
== What's This
Bash script for batch unwatching GitHub repositories.
Target name is specified by regular expression.
== Usage
=== Generate Token
Generate token on https://github.com/settings/tokens .
If treating private repositories, needs **repo** scope checked.
If treating only public repositories, needs any checks.
=== Execute
Execute dry-run.
[source, sh]
----
./github-unwatch.bash [repository name pattern] [your account name] [token]
----
example:
[source, sh]
----
./github-unwatch.bash ^yukihane/ yukihane xxxxxxxx
----
When succeeded, target repositories are listed.
Next, unwatch actually, with `run` argument.
[source, sh]
----
./github-unwatch.bash [repository name pattern] [your account name] [token] run
----