Skip to content

Commit

Permalink
Merge pull request #247 from cpanato/fix-generated
Browse files Browse the repository at this point in the history
if the file is a generated and does not have date stop the checks
  • Loading branch information
k8s-ci-robot authored Jan 27, 2022
2 parents b719aa1 + 2b27a29 commit 201dcad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/verify_boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def file_passes(filename, refs, regexs): # pylint: disable=too-many-locals
for i, line in enumerate(data):
if "Copyright YEAR" in line:
return False
return True

year = regexs["year"]
for datum in data:
Expand Down

0 comments on commit 201dcad

Please sign in to comment.