Skip to content

Commit ec4eda1

Browse files
committed
Just link the release notes
1 parent ebffc48 commit ec4eda1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/script/bundle_changelog.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44

55
cli_version = os.environ['CLI_VERSION']
66

7-
# Link the GitHub Release corresponding to the new bundle version.
7+
# The GitHub Release for the new bundle version.
88
bundle_release_url = f"https://github.com/github/codeql-action/releases/tag/codeql-bundle-v{cli_version}"
9-
bundle_note = f"To learn more about the relevant changes to the CodeQL CLI and language packs, see the [bundle release]({bundle_release_url})."
10-
119
# Get the PR number from the PR URL.
1210
pr_number = os.environ['PR_URL'].split('/')[-1]
13-
changelog_note = f"- Update default CodeQL bundle version to {cli_version}. {bundle_note} [#{pr_number}]({os.environ['PR_URL']})"
11+
changelog_note = f"- Update default CodeQL bundle version to [{cli_version}]({bundle_release_url}). [#{pr_number}]({os.environ['PR_URL']})"
1412

1513
# If the "[UNRELEASED]" section starts with "no user facing changes", remove that line.
1614
with open('CHANGELOG.md', 'r') as f:

0 commit comments

Comments
 (0)