Skip to content

A simple CLI tool to post comments from a pending GitHub PR review as standalone comments

License

Notifications You must be signed in to change notification settings

avtolstoy/github-review-405

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a pretty simple CLI tool to post comments from a pending GitHub PR review as standalone comments.

Why?

If you are like me and just reviewed some PR, wrote a significant number of comments, hit 'Submit review' and all you got was 405 Not Allowed no matter how many times you've retried, this tool is for you.

Usage

Options

Usage:
  node github-review-405 [OPTION]

Options:
  -h, --help            display this help
  -v, --version         show version
  -t, --token=TOKEN     GitHub token (can be also passed as GITHUB_TOKEN env variable)
  -r, --repo=REPO       GitHub repository (org/repo)
  -p, --pr=PR           GitHub Pull Request number
      --save[=SAVEFILE] Save comments into a file (defaults to org_repo_pr_reviewId.json, e.g. avtolstoy_test_123_123456.json). This option is enabled by default
      --load=LOADFILE   Load comments from a file instead of fetching from GitHub

Examples

$ GITHUB_TOKEN="<TOKEN>" github-review-405 -r avtolstoy/test-github-review-405 -p 1234

License

This tool is licensed under the BSD 2-Clause License.

Author

avtolstoy

About

A simple CLI tool to post comments from a pending GitHub PR review as standalone comments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published