This directory contains various scripts used for development.
The scripts accessing GitHub need configuration to be able to authorize against it.
Please copy file config-example.php to config.php and fill the different variables.
All variables that begin with SMTP_ are used by the push.php script, they are not required if you no not use the push.php script.
protocol://host/folder/hooks/commits.php(Content-Type: application/x-www-form-urlencoded) event:pull_requestprotocol://host/folder/hooks/push.php(Content-Type: application/json) event:pushprotocol://host/folder/hooks/docs.phpprotocol://host/folder/hooks/website.phpprotocol://host/folder/hooks/create_release.php(Content-Type: application/x-www-form-urlencoded) event:createprotocol://host/folder/hooks/create.php(Content-Type: application/x-www-form-urlencoded) event:create
The commits.php is GitHub hook to check that all commits in a pull request
are in a good shape:
- all have valid Signed-Off-By line
- the patch does not introduce some of coding style violations
- tab indentation
- DOS end of lines
- trailing whitespace