Issue with Git-Based Source Control: Unable to Use Custom PR Templates and Disable Retool Default PR Body

Hi Retool Team,

We are experiencing a problem with Git-based source control for our Retool apps. When we create pull requests directly from Retool, the PR body is automatically populated via a body parameter in the URL. While this feature might be useful in some cases, it is disrupting our company's established PR workflow, which is based on custom PR templates stored directly in our GitHub repository.

Normally, the PR template saved in the repository would automatically appear in the PR body. However, with the body parameter being passed in the URL by Retool, our custom template is pushed down, making it visible only if the URL’s body parameter is manually deleted.

Retool offers an option to set a custom pull request template in the source control settings. When toggling this option on, the input field for the custom template becomes active, but it doesn’t allow us to type anything into it.

Could you or anyone else please assist with the following:

  1. Is it possible to completely disable the default PR template that Retool passes through the URL, so that we can exclusively use our custom PR templates stored in the repository?
  2. If the above is not possible could you look into the bug where the custom PR template field in the source control settings becomes active but doesn’t allow text input?

We'd appreciate any guidance or fixes to ensure a seamless PR process with our Git integration.

Thanks in advance for your help!

Best regards!

3 Likes

Hi @Valentin,

Thanks for reaching out with this detailed post!

To work around the bug, can you try these steps:

Toggle the feature on in Source Control Settings
Note that the field doesn't take any input
Save
Reopen the settings and confirm that you can now type in the field

Definitely an awkward workaround, but hopefully that helps until we can fix the bug :crossed_fingers:

Hi @Tess this works. Thanks for the reply!

1 Like