Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.24 KB

PR Script

This script shows PR's in need of a rebase visually on the PR page instead of inside the PR.

Requirements

Installation

  1. Generate a new personal access token at https://github.com/settings/tokens and keep it saved somewhere safe
  2. Clone this repo
  3. Install the dependencies with yarn install
  4. Open index.js and replace token with the token you generated
  5. Build the project with yarn build
  6. Open the Tampermonkey plugin
  7. Create a new script
  8. Paste this in as the header
// @name         PR Script
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  A PR script to show PR's in need of a rebase on the PR screen instead of inside individual PRs.
// @author       Matthew Semeniuk (bluewave41)
// @match        https://github.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @run-at document-start
// ==/UserScript==
  1. Open out.js and copy paste the contents below the header inside the function block
  2. Open any repo PR page and you should see the icons update as the requests finish