diff options
Diffstat (limited to 'utils/checkstyle.py')
-rwxr-xr-x | utils/checkstyle.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py index e8451846..560a2c1e 100755 --- a/utils/checkstyle.py +++ b/utils/checkstyle.py @@ -525,10 +525,11 @@ class TrailersChecker(CommitChecker): continue if key == 'Signed-off-by': - sob_found = True + if value == commit.author: + sob_found = True if not sob_found: - issues.append(CommitIssue(f"No valid 'Signed-off-by' trailer found, see Documentation/contributing.rst")) + issues.append(CommitIssue(f"No 'Signed-off-by' trailer matching author '{commit.author}', see Documentation/contributing.rst")) return issues |