mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-11-04 02:14:01 -08:00
Narrow conflict-marker CI check to <<<<<<< and >>>>>>>
This commit is contained in:
1 file changed
+1
-2
@@ -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