Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

This repository is subscribed Gitee webhook for generating merged pull request logs

Notifications You must be signed in to change notification settings

jinhucheung/gitee-subscriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitee Subscriber

This repository is subscribed Gitee webhook for generating merged pull request logs by sinatra

Installation

Clone this repository:

$ git clone git@gitee.com:jimcheung/gitee-subscriber.git
$ cd gitee-subscriber

And then execute:

$ bundle install

Now create databate and migrate:

$ bundle exec rake db:create
$ bundle exec rake db:migrate

Start to run app:

$ puma

Visit http://localhost:9292/logs?access_token=ll6_y0Xbj9cV_g

And that's it, you're all set :)

Usage

Visit your Gitee repository settings

And then add hook for subscribing pull request event

Note that the hook url is your app server, and password is the access_token of app config

more information

About

This repository is subscribed Gitee webhook for generating merged pull request logs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published