fix(github-actions): use robot PAT for release creation to trigger release notes#18794
fix(github-actions): use robot PAT for release creation to trigger release notes#18794SandyTao520 merged 3 commits intomainfrom
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
Hi @SandyTao520, thank you so much for your contribution to Gemini CLI! We really appreciate the time and effort you've put into this. We're making some updates to our contribution process to improve how we track and review changes. Please take a moment to review our recent discussion post: Improving Our Contribution Process & Introducing New Guidelines. Key Update: Starting January 26, 2026, the Gemini CLI project will require all pull requests to be associated with an existing issue. Any pull requests not linked to an issue by that date will be automatically closed. Thank you for your understanding and for being a part of our community! |
|
Hi there! Thank you for your contribution to Gemini CLI. To improve our contribution process and better track changes, we now require all pull requests to be associated with an existing issue, as announced in our recent discussion and as detailed in our CONTRIBUTING.md. This pull request is being closed because it is not currently linked to an issue. Once you have updated the description of this PR to link an issue (e.g., by adding How to link an issue: Thank you for your understanding and for being a part of our community! |
|
Size Change: -2 B (0%) Total Size: 24.3 MB ℹ️ View Unchanged
|
TLDR
This PR updates the release workflows to use the
GEMINI_CLI_ROBOT_GITHUB_PATinstead of the defaultGITHUB_TOKENfor release creation. This ensures that therelease-notes.ymlworkflow (and any others triggered by release events) can be correctly executed by GitHub Actions.Dive Deeper
GitHub Actions restricts the default
GITHUB_TOKENfrom triggering other workflows to prevent recursive runs. Since our automated release processes (nightly, patch, and promotion) were using the default token, therelease: publishedevent was not triggering the release notes generation workflow. Switching to a robot PAT resolves this limitation.Key changes:
.github/workflows/release-nightly.ymlto use robot PAT for version calculation, publishing, and issue creation..github/workflows/release-patch-3-release.ymlto use robot PAT for version calculation, publishing, issue creation, and PR comments..github/workflows/release-promote.ymlto use robot PAT for version calculation, publishing, and issue creation.Reviewer Test Plan
Verification requires observing the behavior of an actual release.
Generate Release Notesworkflow is automatically triggered upon release publication.Testing Matrix
Linked issues / bugs
#18007