check_relevant: check that the commit was marked for stable

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
diff --git a/common b/common
index bdb6044..e08ecb6 100644
--- a/common
+++ b/common
@@ -5,6 +5,10 @@
 	maj=0
 	min=0
 
+	if [ $(git show $cmt | grep -i 'stable@vger' | wc -l) -eq "0" ]; then
+		return 0
+	fi
+
 	# Let's grab the commit that this commit fixes (if exists (based on the "Fixes:" tag)).
 	fixescmt=`git log -1 $cmt | grep -i "fixes:" | head -n 1 | sed -e 's/^[ \t]*//' | cut -f 2 -d ':' | sed -e 's/^[ \t]*//' | cut -f 1 -d ' '`