Skip to content

Oreoxmt/octopus-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

octopus-github try

A userscript for GitHub with the following features:

  • Quick access to the Files changed page of a PR
  • Bulk comment on multiple PRs

Usage

  1. Install a userscript manager of your choice, such as Tampermonkey.

  2. Add the userscript by clicking gh-util.user.js.

  3. (Optional) Configure your own GitHub personal access token (repo scope) when you use the bulk comment feature for the first time.

FAQs

How to update the userscript?

The following uses Tampermonkey as an example.

  1. Click the Tampermonkey icon in the browser toolbar.

  2. Click Dashboard. The Tampermonkey dashboard is displayed.

  3. Click Installed userscripts. The list of installed userscripts is displayed.

  4. Select Octopus GitHub.

  5. Choose Trigger update from the Apply this to all selected scripts menu and click Start. The userscript is updated to the latest version.

Why is the bulk comment feature not working?

  1. Check if you have configured a Github personal access token.

  2. Check if the token has the repo scope.

  3. Check if the token has expired.

How to manage the token used by this script?

  1. Go to the Developer Tools of your browser and then click the Application tab.

  2. In the Storage section on the left panel, click Local Storage > https://github.com.

  3. Search for the key octopus-github-util:token and modify/delete it.