- In action name put
cropio/procrustes_action@master
- That's it
This code expect to work with data from GITHUB_EVENT_PATH
env variable, so copy payload from github api manualy or use default fixture
- Copy
.env.example
to.env
- Copy
GITHUB_TOKEN
in.env
from this page - Run
ruby app.rb
in terminal
- Copy
.env.example
to.env
- Copy
GITHUB_TOKEN
in.env
from this page - Build container
docker build -t ozeron/loc_limiter .
- Run
docker run --rm -it --env-file .env ozeron/loc_limiter
Now it whitelists *.rb, *.slim, *.js files except spec/, config/