Sign inSign up

atsnngs/wiplock

By atsnngs

•Updated almost 10 years ago

Webhooks for preventing to merge pulls in progress

Image
0

366

atsnngs/wiplock repository overview

⁠Wiplock

CircleCI

Wiplock is a tiny webhook application that prevents mistakenly merging in progress pull requests

https://wiplock.com⁠

⁠Running

You need to grab your OAuth Application Client ID and Secret.

https://github.com/settings/applications/new⁠

⁠Heroku

Just hit

Deploy

or

git clone git://github.com/ngs/wiplock.git
cd wiplock.git
heroku create

heroku addons:create heroku-redis:hobby-dev

heroku config:set \
  GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} \
  GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET} \
  SECRET=${SECRET}

git push heroku master
heroku open
⁠Docker
docker pull redis
docker pull atsnngs/wiplock

docker run --name wiplock-redis -d redis
docker run --name wiplock -p 8000:8000 -d --rm \
  --link wiplock-redis:redis \
  -e GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} \
  -e GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET} \
  -e SECRET=${SECRET} \
  -e REDIS_URL="redis://redis:6379" \
  atsnngs/wiplock

open http://localhost:8000

⁠Author

Atushi Nagase⁠

⁠License

Copyright © 2016 Atushi Nagase⁠. All rights reserved.

Tag summary

Content type

Image

Digest

Size

248.6 MB

Last updated

almost 10 years ago

docker pull atsnngs/wiplock