Skip to content

chore(ci): release as the TrogonStack Releaser - #69

Merged
yordis merged 1 commit into
mainfrom
yordis/ci-release-as-releaser
Nov 8, 2026
Merged

yordis merged 1 commit into
mainfrom
yordis/ci-release-as-releaser

Conversation

@yordis

@yordis yordis commented Nov 8, 2026 •

Copy link
Copy Markdown
Member
  • Releases run on short-lived TrogonStack Releaser tokens instead of a shared personal access token tied to one account.
  • Once every repo has switched, the org-wide GH_PAT_RELEASE_PLEASE_ACTION secret can be deleted.

Note

Medium Risk
Release automation now depends on GCP workload identity, Secret Manager vars, and GitHub App configuration; misconfiguration would block releases but removes reliance on a shared PAT.

Overview
The Release Please workflow no longer uses the org secret GH_PAT_RELEASE_PLEASE_ACTION. It now runs in the github-app-releaser environment and mints a short-lived token from the TrogonStack Releaser GitHub App.

New steps authenticate to Google Cloud (workload identity), load the app private key from Secret Manager, then call actions/create-github-app-token with contents, pull-requests, and issues write access. That token is passed into the existing Release Please action. The job also gains id-token: write for OIDC-based GCP auth.

Reviewed by Cursor Bugbot for commit b39c2d0. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor

cursor Bot commented Nov 8, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 8ca26c03-8bfd-4086-9427-9e913bda1ec0)

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8a238ed2-6953-4d57-9f57-62b50ad48bf7
Commits

Reviewing files that changed from the base of the PR and between 5437eaf and b39c2d0.

Files selected for processing: 1

  • .github/workflows/release-please.yml

Walkthrough

The release-please workflow now authenticates to Google Cloud, retrieves a configured private key, and creates a GitHub App token. The release-please action uses this token instead of the GH_PAT_RELEASE_PLEASE_ACTION secret.

Changes

Release-please credential flow

Layer / File(s) Summary
Configure and pass the GitHub App token
.github/workflows/release-please.yml
The job uses the github-app-releaser environment and adds id-token: write. It authenticates to Google Cloud, retrieves the configured private key, and creates a token with contents, pull-request, and issues write permissions. The release-please action receives this token instead of GH_PAT_RELEASE_PLEASE_ACTION.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · previous review 5437e

The release token uses the documented permissions and repository scope. No concrete merge-blocking defect is established; the Google Cloud access configuration remains unverified.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title names the main change: releases now use the TrogonStack Releaser identity instead of a shared personal access token. The raw summary confirms the release-please workflow now mints a GitHub A…
Description check Passed The description states that releases now use short-lived TrogonStack Releaser tokens instead of a shared personal access token, and that the org-wide GH_PAT_RELEASE_PLEASE_ACTION secret can be removed…
Full details: Title check

Explanation

The title names the main change: releases now use the TrogonStack Releaser identity instead of a shared personal access token. The raw summary confirms the release-please workflow now mints a GitHub App token and passes it to the release action, so the title matches the changeset. The 'chore(ci)' prefix fits a CI workflow change.

Full details: Description check

Explanation

The description states that releases now use short-lived TrogonStack Releaser tokens instead of a shared personal access token, and that the org-wide GH_PAT_RELEASE_PLEASE_ACTION secret can be removed later. The raw summary describes the workflow change that does this, so the description relates directly to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the workflow line,
A cloud key joins the release design.
A fresh app token takes the lead,
Release-please now has what it needs.
The rabbit hops, the steps align.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional comments: 1

.github/workflows/release-please.yml: 1

20-24: Minor · Potential issue · Low value

Unverified finding
We couldn't verify this from the code. It is shown for review, not as a verified issue.

The google-github-actions/auth step supplies only workload_identity_provider. No service_account is passed. If the provider is not configured for direct workload identity federation with Secret Manager IAM bound to the principal, the step may fail or produce credentials without access to the secret. This is an assumption about unseen Google Cloud configuration.

The auth step or the following secret fetch fails, so the release-please job fails and no release PRs are created or updated.

This can occur when: The github-app-releaser environment sets RELEASER_WORKLOAD_IDENTITY_PROVIDER to a provider where the principal has no direct secretmanager.secretAccessor binding. Alternatively, the variable is unset in a repository that adopts this workflow.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5c4ad33c-718e-40a1-aa2f-88771a43f607
Commits

Reviewing files that changed from the base of the PR and between a0ff5f2 and 5437eaf.

Files selected for processing: 1

  • .github/workflows/release-please.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Short-lived Releaser tokens replace the shared personal access token, so the org-wide secret can be deleted.

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@yordis yordis changed the title ci: release as the TrogonStack Releaser chore(ci): release as the TrogonStack Releaser Nov 8, 2026
@yordis
yordis force-pushed the yordis/ci-release-as-releaser branch from 5437eaf to b39c2d0 Compare November 8, 2026 07:25
@cursor

cursor Bot commented Nov 8, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 473804da-d8f0-4b3f-a803-50b4b7b0f1ba)

@yordis
yordis merged commit e02bf49 into main Nov 8, 2026
8 checks passed
@yordis
yordis deleted the yordis/ci-release-as-releaser branch November 8, 2026 07:31
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.

1 participant