Narrow conflict-marker CI check to <<<<<<< and >>>>>>>

This commit is contained in:
Cursor Agent
2026-08-23 23:31:01 +00:00
parent f828c7794a
commit fa7ee0d946
+1 -2
View File
@@ -13,8 +13,7 @@ jobs:
- name: Reject merge conflict markers - name: Reject merge conflict markers
run: | run: |
if git grep -nE '^(<<<<<<<|>>>>>>>|=======)' -- . \ if git grep -nE '^(<<<<<<<|>>>>>>>)' -- . \
':(exclude)*.lock' \
':(exclude)package-lock.json'; then ':(exclude)package-lock.json'; then
echo "::error::Merge conflict markers found in tracked files" echo "::error::Merge conflict markers found in tracked files"
exit 1 exit 1