Skip to content

About

Azure DevOps extension to use CommitiZen for your Pull Request merge commit message

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Azure DevOps Extensions

A collection of Azure DevOps extensions.

Adds a commitizen-style dialog to the pull request action menu, so you can complete or set auto-complete on a PR with a properly formatted conventional commit merge message.

CommitiZen dialog

Open it from the pull request's ... action menu:

Action menu entry

What it does

Pick a commit type (feat, fix, docs, chore, refactor, ...), then fill in a scope, subject, body, breaking changes and closed issues. On submit it builds the merge commit title/description from those fields and sets or triggers auto-complete on the PR, carrying over the existing squash / delete-source-branch / complete-linked-work-items / update-PR-description options.

Get it

Install CommitiZen Pull Request from the Visual Studio Marketplace.

Project layout

Building the extension

cd pull-request-cz
npm install
npx tfx-cli extension create --root . --manifest-globs vss-extension.json --output-path dist \
  --override '{"publisher":"<your-publisher-id>","id":"<your-extension-id>","name":"<name>","public":false,"version":"<x.y.z>"}'

Bump version on every rebuild — Azure DevOps caches an extension's assets by version, so re-uploading the same version won't pick up changes.

Installing a private build

  1. Upload the generated .vsix under your own publisher on the Visual Studio Marketplace.
  2. Share it with your Azure DevOps organization from the publisher's management page.
  3. Install it from https://marketplace.visualstudio.com/manage/publishers/<your-publisher-id> or via the organization's extension management page.

A different publisher/id installs side by side with the public extension without conflict; the action menu will show both entries until one is uninstalled.

Release build

CI packaging is handled by pull-request-cz/make.cmd (Windows-only) and appveyor.yml.

About

Azure DevOps extension to use CommitiZen for your Pull Request merge commit message

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages