Examples and template validation
Examples of custom PR templates
The following example templates show how to use the variables in a PR template.
API custom PR template example
YAML custom PR template example
Validate the custom PR template
You can validate the correctness of your template by following the steps described for each section.
API template validation
For the API configuration, you can validate the correctness of your template by following these steps:
If an error response is returned, there are issues with the custom content. Fix the issues and wait to receive an API success response.
Open a PR and verify that your custom inputs are being used.
YAML template validation
You can validate the correctness of your template by following these steps:
Add the template file to your Project (repository).
Open a PR and verify that your custom inputs are being used.
Last updated