Skip to content

Commit

Permalink
Check subdirectories for changelog entries
Browse files Browse the repository at this point in the history
refs #5628
  • Loading branch information
David Davis committed Oct 28, 2019
1 parent ed9ff74 commit 80cb456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/travis/.travis/validate_commit_message.py.j2
Expand Up @@ -27,7 +27,7 @@ def __check_status(issue):


def __check_changelog(issue):
if len(glob.glob(f"CHANGES/{issue}.*")) < 1:
if len(glob.glob(f"CHANGES/**/{issue}.*", recursive=True)) < 1:
sys.exit(f"Could not find changelog entry in CHANGES/ for {issue}.")


Expand Down

0 comments on commit 80cb456

Please sign in to comment.