diff --git a/tests/policy/commits_test.go b/tests/policy/commits_test.go index 8ce3953..eb29d38 100644 --- a/tests/policy/commits_test.go +++ b/tests/policy/commits_test.go @@ -20,6 +20,10 @@ func allowedCommit(an, ae, cn, ce string) bool { if an == "dependabot[bot]" && cn == "GitHub" { return true } + // GitHub squash-merge: author Thor Thor (verified email), committer GitHub + if an == allowedAuthorName && cn == "GitHub" && strings.Contains(ae, "codethor") { + return true + } return false }