mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-10 00:11:56 -07:00
Narrow conflict-marker CI check to <<<<<<< and >>>>>>>
This commit is contained in:
@@ -13,8 +13,7 @@ jobs:
|
||||
|
||||
- name: Reject merge conflict markers
|
||||
run: |
|
||||
if git grep -nE '^(<<<<<<<|>>>>>>>|=======)' -- . \
|
||||
':(exclude)*.lock' \
|
||||
if git grep -nE '^(<<<<<<<|>>>>>>>)' -- . \
|
||||
':(exclude)package-lock.json'; then
|
||||
echo "::error::Merge conflict markers found in tracked files"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user