Skip to content

TombWater/github-codeowners

Repository files navigation

GitHub Codeowners

GitHub Codeowners Browser Extension

light screenshot

dark screenshot

Features

  • Decorate each file header with labels showing the owners who must approve that file
  • Owner labels of teams that you're a member of are shown in red and have a star (★)
  • Owner labels of teams that have already approved are shown in green and have a checkmark (✓)
    • The star becomes lighter in your own teams that have approved (☆)
  • Hovering on an owner label shows a tooltip with the members of that team
  • Clicking an owner label expands all the files with that owner, and collapses the others

Install

Important

After installing the extension, if your repo needs a GitHub token to access it, paste it in the extension's popup UI by clicking on its icon.

Chrome

Install from Chrome Store

Firefox

Install from Firefox Add-ons

Building

Tip

If you don't already have Node.js and npm, you'll need to install them first.

npm install
npm run build

The extension will be in the build/ directory.

Privacy

All data collected by this extension is kept and used only within the browser; it is not transmitted out of the extension.

The data collected includes:

  • The username of the logged-in GitHub user is read from the page metadata.
  • The GitHub access token provided by the user is kept in local storage.
  • The usernames and team names mentioned in the CODEOWNERS file are collected and cached in memory.
  • Team member usernames for teams mentioned in CODEOWNERS are collected and cached in memory.

This project was bootstrapped with Chrome Extension CLI