Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/hubot-gh-release-pr
A hubot script to create GitHub's PR for release
https://github.com/banyan/hubot-gh-release-pr
Last synced: 19 days ago
JSON representation
A hubot script to create GitHub's PR for release
- Host: GitHub
- URL: https://github.com/banyan/hubot-gh-release-pr
- Owner: banyan
- License: mit
- Created: 2014-07-04T08:09:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-01T02:44:18.000Z (over 10 years ago)
- Last Synced: 2025-01-13T20:27:35.198Z (about 1 month ago)
- Language: CoffeeScript
- Homepage:
- Size: 359 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-gh-release-pr
A hubot script to create GitHub's PR for release
See [`src/gh-release-pr.coffee`](src/gh-release-pr.coffee) for full documentation.
## Installation
In hubot project repo, run:
`npm install hubot-gh-release-pr --save`
Then add **hubot-gh-release-pr** to your `external-scripts.json`:
```json
["hubot-gh-release-pr"]
```## How it works
1. Ask hubot to create PR
1. hubot create PR via GitHub API.
1. The default head branch is `master`, base branch would be that you specified.## Examples
```
user1>> hubot release
user1>> hubot release test-repo production
user1>> hubot release test-repo staging
user1>> hubot release test-repo edge
```## Configuration:
Required ENVs:
* GH_RELEASE_PR_TOKEN
* GH_RELEASE_PR_USEROptional ENVs:
* GH_RELEASE_PR_CUSTOM_ENDPOINT
* GH_RELEASE_PR_GITHUB_DEBUG
* GH_RELEASE_PR_GITHUB_HOST
* GH_RELEASE_PR_GITHUB_PATH_PREFIX
* GH_RELEASE_PR_GITHUB_PATH_PROTOCOL## Customize Branch