- 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.exampleto.env - Copy
GITHUB_TOKENin.envfrom this page - Run
ruby app.rbin terminal
- Copy
.env.exampleto.env - Copy
GITHUB_TOKENin.envfrom 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/