https://github.com/webini/zenhub-pipeline
Automatically transfer issues in pipeline by commit message
https://github.com/webini/zenhub-pipeline
commit hooks move pipeline zenhub
Last synced: about 1 year ago
JSON representation
Automatically transfer issues in pipeline by commit message
- Host: GitHub
- URL: https://github.com/webini/zenhub-pipeline
- Owner: Webini
- License: unlicense
- Created: 2017-03-17T02:10:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-28T11:06:00.000Z (almost 7 years ago)
- Last Synced: 2025-03-31T03:05:39.391Z (about 1 year ago)
- Topics: commit, hooks, move, pipeline, zenhub
- Language: JavaScript
- Size: 12.7 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ZenHub-Pipeline
===============
## Description
This small server allow you to change the pipeline of your issues using commit messages.
To move one issue
```
git commit -m "#1 => InProgress"
```
To move multiple issues
```
git commit -m "#1 #5 #42 => InProgress"
```
The original pipeline name is escaped with all char except alpha, the app will match the start of what you have written. If multiple pipelines are found the issue is not moved.
So `Review/QA` with be accessible by typing `review`, `rev` or `reviewqa`
## Configuration
We are using these env variables:
#### ZENHUB_TOKEN
Your ZenHub api token. Get one [here](https://github.com/ZenHubIO/API#for-zenhub-users)
#### GIT_TOKEN
The git token, it will be used to read issue's name from your private repositories.
[Create a new one here](https://github.com/settings/tokens/new?scopes=repo&description=ZenHubPipeline).
#### GIT_HOOK_SECRET (optional)
The hook secret specified at the creation of the hook.
#### HOST
Server host
#### PORT
Server port
## Installation
Run with docker or manually
```
docker run -p 8080:8080 -e "ZENHUB_TOKEN=" -e "GIT_TOKEN=" -e "GIT_HOOK_SECRET=" nicocanicolas/zenhub-pipeline
```
Once the server is started, go to your repository(ies) and add a new push hook ( default path: "/" ) to your brand new server address.
## Contributions
As this project was made in hurry, contributions are welcome :p