https://github.com/tinacious/bitbucket-pr-enforcements-chrome
Disables the merge button if there are conflicts or the branch isn't up to date with the target
https://github.com/tinacious/bitbucket-pr-enforcements-chrome
Last synced: 10 months ago
JSON representation
Disables the merge button if there are conflicts or the branch isn't up to date with the target
- Host: GitHub
- URL: https://github.com/tinacious/bitbucket-pr-enforcements-chrome
- Owner: tinacious
- Created: 2020-05-22T07:48:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T07:58:21.000Z (about 6 years ago)
- Last Synced: 2025-01-21T19:23:13.177Z (over 1 year ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitbucket PR enforcements Chrome extension
> Disables the merge button if there are conflicts or the branch isn't up to date with the target 🔐

This Chrome extension disables the merge button if either of the following occurs:
- there are merge conflicts with the target branch
- the source branch is behind the target branch
This functionality is supported in the new Bitbucket UI only.

## Installation
1. Download the source code by clicking the Download button at the top right
2. Open Chrome's Extension management page
3. Turn on Developer Mode at the top right if it isn't on already
4. Click "Load unpacked extension"
5. Find this directory and load it in. The root of the directory needs to have the `manifest.json` file
## Distribution
The following command bundles the Chrome extension and includes only the necessary files for distribution:
```sh
./bundle.sh
```
## Changelog
| Version | Changes |
| :------ | :---------------- |
| 0.0.1 | Initial release 🚀 |