Skip to content

Commit

Permalink
Enable License check for local repos (#9)
Browse files Browse the repository at this point in the history
Enable License check for local repositories that was disabled in the
PR ossf#2442
  • Loading branch information
abhiseksanyal committed Nov 18, 2023
1 parent 5068657 commit 8c2a671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checks/license.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const CheckLicense = "License"
//nolint:gochecknoinits
func init() {
supportedRequestTypes := []checker.RequestType{
checker.FileBased,
checker.CommitBased,
}
if err := registerCheck(CheckLicense, License, supportedRequestTypes); err != nil {
Expand Down

0 comments on commit 8c2a671

Please sign in to comment.