From 66a45703cf4a625c01a6d381296fc95d6d51f4cb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 17:13:44 +0000 Subject: [PATCH] fix(ui): resolve merge conflict markers in settings.html and add CI guard Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- .github/workflows/ci.yml | 7 +++++++ frontend/templates/settings.html | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d61cf30..f86320b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,13 @@ jobs: - name: Show Ruff version (debug) 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) # ruff check can --fix locally, but CI should only check (no modifications) run: ruff check app/ tests/ diff --git a/frontend/templates/settings.html b/frontend/templates/settings.html index 80990ad1..5286df7d 100644 --- a/frontend/templates/settings.html +++ b/frontend/templates/settings.html @@ -139,7 +139,6 @@ Enable {{ setting.key.replace('_', ' ').title() }} -<<<<<<< copilot/add-self-hosted-ocr-support {% elif setting.metadata.type == 'multiselect' and setting.metadata.options %}
Effective value: