Jinja2 templates are kept as plain text from October 31, 2026
From October 31, 2026, Mergify no longer evaluates Jinja2 expressions in your configuration and keeps them as plain text.
As announced in Jinja2 templating stops working on October 31, 2026, Mergify no longer evaluates Jinja2 in your configuration from October 31, 2026. Filters, loops, {% if %} blocks and other expressions now stay as written: a comment that uses {{ assignee | join(', @') }} posts that text, and a commit_message_template writes its template into your commit messages.
Plain {{ variable }} placeholders drawn from each field’s allowed variables keep working, as does a bare {{ author }} in a rule condition. A value that is not valid once read as text, such as a bot account built with {% if %}, makes your configuration invalid.
To keep your messages and conditions working, replace every expression with the field’s allowed variables, and replace commit_message_template with commit_message_format.
Was this page helpful?
Thanks for your feedback!