diff --git a/checks/license.go b/checks/license.go index 0bd19ebde3d9..a3b242f27c8f 100644 --- a/checks/license.go +++ b/checks/license.go @@ -38,6 +38,7 @@ const CheckLicense = "License" func init() { supportedRequestTypes := []checker.RequestType{ checker.FileBased, + checker.CommitBased, } if err := registerCheck(CheckLicense, LicenseCheck, supportedRequestTypes); err != nil { // this should never happen diff --git a/checks/security_policy.go b/checks/security_policy.go index 7aa2b5888262..0505a58cf6e7 100644 --- a/checks/security_policy.go +++ b/checks/security_policy.go @@ -28,6 +28,7 @@ const CheckSecurityPolicy = "Security-Policy" func init() { supportedRequestTypes := []checker.RequestType{ checker.FileBased, + checker.CommitBased, } if err := registerCheck(CheckSecurityPolicy, SecurityPolicy, supportedRequestTypes); err != nil { // This should never happen.