mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01: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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user