NOTICE: This repo currently has a dependency on a fork desholmes/gulp-bookmarklet a pr is open for this.
Bitbucket sever doesn't support PR templates, unlike Bitbucket Cloud. This repo contains a bookmarklet to bring a common format to PR descriptions.
This project uses:
Chrome is recommended.
- Create bookmark called
PR Template
in Chrome - Copy the contents from ./dist/bookmarlet.js into the URL field and press save
- Now when you create a PR, click the
PR Template
bookmark and the template will be applied to your PR description
- Complete the 'Getting Started > Prerequisites' section
npm i
: To install the packagesnpm install gulp-cli -g
: To install gulp globally- Edit the
src/main.js
file npm run build
: To build the bookmarklet to./dist/bookmarklet.js