mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Fix prepare_changelog.py not using changelog_file consistently
This commit is contained in:
@@ -12,7 +12,7 @@ def extract_changelog_snippet(changelog_file, version_tag):
|
||||
output = EMPTY_CHANGELOG
|
||||
|
||||
else:
|
||||
with open('CHANGELOG.md', 'r') as f:
|
||||
with open(changelog_file, 'r') as f:
|
||||
lines = f.readlines()
|
||||
|
||||
# Include everything up to, but excluding the second heading
|
||||
|
||||
Reference in New Issue
Block a user