Merge pull request #397 from christianlouis/copilot/fix-git-merge-conflict-settings

fix(ui): resolve merge conflict markers in settings.html; add CI guard
This commit is contained in:
Christian Krakau-Louis
2026-02-24 18:38:07 +01:00
committed by GitHub
2 changed files with 7 additions and 3 deletions
+7
View File
@@ -46,6 +46,13 @@ jobs:
- name: Show Ruff version (debug) - name: Show Ruff version (debug)
run: ruff --version run: ruff --version
- name: Check for merge conflict markers
run: |
if git grep -rn -E '^(<{7} |>{7} |={7}$)' -- '.'; then
echo "ERROR: Merge conflict markers found in tracked files."
exit 1
fi
- name: Run Ruff Lint (check) - name: Run Ruff Lint (check)
# ruff check can --fix locally, but CI should only check (no modifications) # ruff check can --fix locally, but CI should only check (no modifications)
run: ruff check app/ tests/ run: ruff check app/ tests/
-3
View File
@@ -139,7 +139,6 @@
Enable {{ setting.key.replace('_', ' ').title() }} Enable {{ setting.key.replace('_', ' ').title() }}
</label> </label>
</div> </div>
<<<<<<< copilot/add-self-hosted-ocr-support
{% elif setting.metadata.type == 'multiselect' and setting.metadata.options %} {% elif setting.metadata.type == 'multiselect' and setting.metadata.options %}
<!-- Multi-select checkboxes: stored as comma-separated string --> <!-- Multi-select checkboxes: stored as comma-separated string -->
<div class="flex flex-wrap gap-2 mt-1"> <div class="flex flex-wrap gap-2 mt-1">
@@ -161,7 +160,6 @@
{% endfor %} {% endfor %}
</div> </div>
<p class="mt-1 text-xs text-gray-400">Effective value: <code x-text="formData['{{ setting.key }}'] || '(none)'"></code></p> <p class="mt-1 text-xs text-gray-400">Effective value: <code x-text="formData['{{ setting.key }}'] || '(none)'"></code></p>
=======
{% elif setting.metadata.type == 'model_picker' %} {% elif setting.metadata.type == 'model_picker' %}
<!-- Model Picker: free-text input with datalist of common models --> <!-- Model Picker: free-text input with datalist of common models -->
<div class="relative"> <div class="relative">
@@ -185,7 +183,6 @@
Pick from the list or type any model name supported by your provider. Pick from the list or type any model name supported by your provider.
</p> </p>
</div> </div>
>>>>>>> main
{% elif setting.metadata.options %} {% elif setting.metadata.options %}
<!-- Dropdown Select for fields with a fixed list of values --> <!-- Dropdown Select for fields with a fixed list of values -->
<select <select