https://github.com/franciscocpg/wercker-step-bitbucket-create-pr
https://github.com/franciscocpg/wercker-step-bitbucket-create-pr
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/franciscocpg/wercker-step-bitbucket-create-pr
- Owner: franciscocpg
- License: mit
- Created: 2015-12-27T02:49:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-06T05:02:29.000Z (over 9 years ago)
- Last Synced: 2025-01-13T21:47:09.150Z (5 months ago)
- Language: Shell
- Size: 210 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wercker-step-bitbucket-create-pr
Create a [bitbucket](http://bitbucket.com) pull request on successful build.### Options
* `username` Username of account at bitbucket that will be a bot for creating PR.
* `password` Password of bot user.
* `dest_branch` (optional) The destination branch to create pull request. If you omit the destination branch name, the parameter defaults to the repository's main branch (master in most of the cases).
* `exclude` (optional) Pattern to exclude branchs to run this step. If you omit the exclude branch, **master** will be assumed as default.### How to configure?
You should create additional account for wercker bot. And give him permission for reading target repo.
# Example
build:
after-steps:
- franciscocpg/bitbucket-create-pr:
username: my-application-wercker
password: $WERCKER_BITBUCKET_USER_PASSWORD
dest_branch: some-valid-branch
exclude: ^(master|dist)$# License
The MIT License (MIT)
# Changelog
## 0.0.1
- initial version