mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
Add PR check for added driver with no added image
This commit is contained in:
parent
4b7cee5a4c
commit
fb7982b3af
1 changed files with 5 additions and 0 deletions
|
|
@ -68,4 +68,9 @@ if git diff chirp/locale | grep '^\+[^#+]' | grep -v POT-Creation; then
|
|||
fail Locale files need updating
|
||||
fi
|
||||
|
||||
added_files=$(git diff --name-only --diff-filter=A ${BASE}.. 2>&1)
|
||||
if echo $added_files | grep -q chirp.drivers && ! echo $added_files | grep -q tests.images; then
|
||||
fail All new drivers should include a test image
|
||||
fi
|
||||
|
||||
exit $RETCODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue