{% load i18n %}

{% blocktrans %} {{PRODUCT_NAME}} supports closing review requests that are referenced in commit messages for any changes pushed to this repository. These references are in the form of: {% endblocktrans %}

Reviewed at {{example_url}}

{% trans "Or:" %}

Review Request #{{example_id}}

{% blocktrans %} To configure this, add a new WebHook for your Forgejo repository and set: {% endblocktrans %}

Payload URL: {{webhook_endpoint_url}}
POST content type: application/json
Secret: {{hook_uuid}}
Trigger on: Push events

{% blocktrans %} Then click Add webhook. You're done! {% endblocktrans %}

By default, Forgejo limits outgoing WebHooks. You may need to edit the webhook.ALLOWED_HOST_LIST setting to allow delivery to your Review Board server.