Now that you have installed Reviewpad it's time to configure it.
The Reviewpad configuration is a YAML file that defines the workflows that to follow to automate your pull request process.
In this example we will create a configuration that checks the size of a pull request and adds a label with the size.
reviewpad.yml to the root of your repository
Reviewpad will look for a
reviewpad.yml file in the root of your repository and follow the workflows defined in it.
Create a file called
reviewpad.yml in the root of your repository and add the following content:
- name: label-pull-request-with-size
- rule: $size() <= 30
- rule: $size() > 30 && $size() <= 100
- rule: $size() > 100
That's it! 🎉
Reviewpad will run on every pull request and follow the workflows defined in the
reviewpad.yml configuration file.
👉 Don't forget to commit and push the
reviewpad.yml file to your repository.
Now that you have configured Reviewpad you can start using it to automate your pull request process.
Have a look at the use cases to see how Reviewpad can help you.
By running Reviewpad, you are agreeing with Reviewpad's Terms and Conditions.