Skip to content

[Infra] Improved GitHub Issue Link Formatting in Release Notes#7900

Merged
rlazo merged 6 commits intomainfrom
rl.github.format.notes
Mar 13, 2026
Merged

[Infra] Improved GitHub Issue Link Formatting in Release Notes#7900
rlazo merged 6 commits intomainfrom
rl.github.format.notes

Conversation

@rlazo
Copy link
Collaborator

@rlazo rlazo commented Mar 11, 2026

Enhances the MakeReleaseNotesTask to provide more structured and readable GitHub issue links in the generated release notes.

Key Changes:

  • Parenthetical Enclosure: Updated githubIssueLinkFormatter to wrap generated links in parentheses.
  • Multi-Issue Support: Introduced githubMultiIssueLinkFormatter to detect and format comma-separated lists of GitHub issues. Multiple issues are now presented as an indented list within parentheses.
  • Automatic Line Positioning: Added logic to automatically move GitHub links to a new, indented line if they are preceded by other content, preventing them from being appended directly to the end of a sentence.
  • Updated Regex Logic: Refined existing regex and added new patterns to accurately identify single and multiple issue references and their context.
  • Verified with Tests: Updated test resources in plugins/src/test/resources to reflect the new formatting style and added cases for multiple issue links.

Internal b/491979526

The `githubIssueLinkFormatter` function now encloses the generated
GitHub issue links within parentheses for improved visual presentation
in release notes.
@gemini-code-assist
Copy link
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@rlazo rlazo requested a review from VinayGuthal March 11, 2026 23:12
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

plugins test results

67 tests   67 ✅  1m 55s ⏱️
12 suites   0 💤
12 files     0 ❌

Results for commit 6732ec0.

♻️ This comment has been updated with latest results.

@rlazo rlazo requested a review from emilypgoogle March 11, 2026 23:15
@rlazo rlazo changed the title [Infra] Release notes: wrap GitHub issue links in parentheses [Infra] Improved GitHub Issue Link Formatting in Release Notes Mar 12, 2026
@rlazo rlazo merged commit 0b45692 into main Mar 13, 2026
179 of 182 checks passed
@rlazo rlazo deleted the rl.github.format.notes branch March 13, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants