Commit 08e840e3 authored by Hugh Davenport's avatar Hugh Davenport

Makefile: Add a test for security keywords to securitycheck

Currently checks for cve or security.

Change-Id: I69ae3a2a721bf0179d7b914c8f40f612e71a6204
Signed-off-by: default avatarHugh Davenport <>
parent 8c4b8233
......@@ -29,6 +29,10 @@ securitycheck:
echo "This change has drafts in the chain. Please use make security instead"; \
false; \
@if git log $(mergebase)..HEAD --pretty=format:%B | grep -iE '(security|cve)' >/dev/null; then \
echo "This change has a security keyword in it. Please use make security instead"; \
false; \
push: securitycheck minaccept
@echo "Pushing the change upstream..."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment