def METHOD_NAME(diff):
    changelog_diff_matches = re.search(changelog_diff_regex, diff, re.MULTILINE)
    if not changelog_diff_matches:
        raise Exception(
            "Add a non-empty changelog file in changelog/unreleased/${type of changes} or add a `skip changelog` label if not applicable.")