{% extends "setup/layout.html" %} {% block content %}
{% set selected_auth_mode = auth_mode if auth_mode is defined else ("personal_token" if state and state.installation_mode == "local_dev" else "app") %}

Step 4 of 6 (optional)

GitHub Access

Connect GitHub so Governor can fetch repository files and create pull requests. Skip this step to run in detection-only mode — you can configure it later in Admin settings.

{% if errors and errors.github %}
{{ errors.github }}
{% endif %} {% if errors and errors.network %}
GitHub unreachable: {{ errors.network }}
{% endif %}
{% if errors and errors.app_id %}

{{ errors.app_id }}

{% endif %}
{% if errors and errors.installation_id %}

{{ errors.installation_id }}

{% endif %}
{% if errors and errors.private_key %}

{{ errors.private_key }}

{% endif %}

Use a token that can read the repository and create branches/pull requests.

{% if errors and errors.personal_access_token %}

{{ errors.personal_access_token }}

{% endif %}
{% if retry is defined and retry %}

The connectivity check failed due to a network error. Check your connection and try again.

{% endif %}
{% endblock %}