This application is based on Symfony CarsonBot and aims to help PrestaShop maintainers and contributors.
First of all you have to configure your GitHub repository and have a GitHub token.
composer install // and complete the interactive fields asked
First, setup the docker-compose.yml
file with a valid GitHub token and a valid Secure token (can be empty).
make start
The Home page is now available at "https://localhost:81/".
You need also to create your own GitHub personal token and export it:
export GH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXX
export GH_SECURED_TOKEN=YYYYYYYYYYYYYYYYYYYYYYYYYYYY
./vendor/bin/simple-phpunit
# or (using docker)
make test
To launch unit tests, you only need to setup your own Github token (
GH_TOKEN
).
Yeah, mostly the Symfony ones:
./vendor/bin/php-cs-fixer fix # we use the Symfony level + short array notation filter
- Comment on a pull request to help a contributor fix his work;
- Extract data from the pull request and look for some terms;
- Manage labels;
- Validate a pull request description;
- Welcome every new contributor;
- Labelize a PR regarding information in description
- Labelize a PR regarding files updated
- Add labels according to the branch