Skip to content

bshaffer/format-owlbot-pr-chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome Extension for Formatting Owlbot PRs

This PR allows us to do the following things to an owlbot (automated) PR message:

  1. Removes the "Updates from OwlBot" and "Co-authored-by Owl Bot" footers
  2. Deletes the extra whitespace between each line
    • Newlines still exist between PiperOrigin-RevId blocks
  3. Removes the component name and square brackets from the commit title
    • This returns the title of the PR to the original piper commit message
    • The component name is only important in the PR title, to help differentiate PRs during review.
  4. Removes the conventional commit in the commit title from the commit body
    • This ensures it's not duplicated by release-please
    • Usually this line is prefixed by an asterisk

Here is a demo video of the extension being used!

Installation

  1. Clone this directory locally

    git clone [email protected]:bshaffer/format-owlbot-pr-chrome-extension
    
  2. Install the extension

    1. type chrome://extensions in the url bar and press enter.
    2. Turn on the switch on the top right of the page that says "Developer mode";
    3. Click on the button on the top left of the page that says "Load unpacked".
    4. Select a folder where you cloned this extension (should be format-owlbot-pr-chrome-extension)
  3. When you are merging an OwlBot PR, click the icon for this extension and the PR will be formatted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published