Repository navigation
ci: run the release draft in a release environment (3.x) - #474
Merged
nickolas-dimitrakas merged 1 commit intoNov 18, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Repository access was denied, preventing verification that the reusable workflow’s token input is optional and defaults to github.token, so authentication behavior after omitting the explicit argument remains unconfirmed.
No open issues 🎉
What changed in this PR
Aligns release automation on maintenance/3.x with the environment-based setup introduced for main in #470. These changes affect CI only; the published package is unchanged.
Changes:
- Runs Release Draft in the
releaseenvironment while retaining the existing major-bump guard. - Removes Trunk Upgrade’s unused GitHub App token generation and associated job dependency.
| File | Description |
|---|---|
.github/workflows/trunk-upgrade.yml |
Removes token generation and calls the shared upgrade workflow directly. |
.github/workflows/release-draft.yml |
Assigns the release PR job to the release environment. |
Review effort: Balanced
nickolas-dimitrakas
force-pushed
the
ci/release-environment-3.x
branch
from
November 17, 2026 23:42
87fbd49 to
40f69a6
Compare
nickolas-dimitrakas
changed the base branch from
maintenance/3.x
to
ci/android-checks-3.x
November 17, 2026 23:42
nickolas-dimitrakas
force-pushed
the
ci/release-environment-3.x
branch
from
November 17, 2026 23:44
40f69a6 to
d4facb5
Compare
nickolas-dimitrakas
force-pushed
the
ci/release-environment-3.x
branch
from
November 18, 2026 02:01
d4facb5 to
773ca48
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Release automation should hold its release powers only on the branches we release from. #470 moved the credentials that open release pull requests on
maininto thereleaseenvironment. This brings the version 3 maintenance line in line, so the repository-wide copies can be removed without breaking a 3.x release.What changes
The same change as #470, applied to
maintenance/3.x.releaseenvironment. Its GitHub App credentials come from that environment's secrets, and the environment allows onlymainandmaintenance/3.x. The major-bump check inside the workflow stays as a second line.github.token. Its behaviour is unchanged.No changelog entry, because nothing in the published package changes.
Linked work
Depends on: the Android checks fix for
maintenance/3.x(this pull request's base), which should merge first.Related: #470, the same change on
main.Rollout
CI only; nothing is published. The
releaseenvironment already allowsmaintenance/3.xand holds the credentials. The repository-level copies stay until a Release Draft run through the environment succeeds.Turning it off: revert this pull request.
What we watch: the next Release Draft run on
maintenance/3.xopens its release pull request. A failure at the "Generate GitHub App token" step means the environment's secrets are wrong or missing.Risk class: low.
🤖 Generated with Claude Code