Skip to content

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

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
Changes release automation credentials and depends on GCP Secret Manager, workload identity vars, and the GitHub App environment being configured correctly; a misconfiguration would block releases rather than silently weakening scope.

Overview
The release-please workflow no longer authenticates Release Please with the org secret GH_PAT_RELEASE_PLEASE_ACTION. Releases now run through the github-app-releaser environment and mint a short-lived token from the TrogonStack Releaser GitHub App.

What was added: id-token: write, GCP Workload Identity auth, a Secret Manager step for the app private key, and actions/create-github-app-token with contents/PR/issue write scopes. Release Please is pointed at ${{ steps.releaser.outputs.token }} instead of the PAT.

After all repos adopt this pattern, the shared PAT secret can be removed org-wide.

Reviewed by Cursor Bugbot for commit 54eb14b. 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: ba6b3f0a-70f2-4d26-8d8b-af4a5b45f745)

@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: a69ee703-03f6-4aed-99fc-b6b9d602b53e
Commits

Reviewing files that changed from the base of the PR and between 11c735c and 54eb14b.

Files selected for processing: 1

  • .github/workflows/release-please.yml

No actionable comments were generated in the recent review.

Walkthrough

The release workflow now runs in the github-app-releaser environment. It authenticates to Google Cloud, retrieves a private key, creates a GitHub App token, and passes that token to Release Please.

Changes

Release workflow authentication

Layer / File(s) Summary
Configure authentication and pass the token
.github/workflows/release-please.yml
The workflow sets id-token: write permission and uses the github-app-releaser environment. It authenticates to Google Cloud, retrieves a private key, creates a GitHub App token with contents, pull-request, and issue write permissions, and passes the token to Release Please.

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

Change: Other

Merge Risk: Minimal · previous review 11c73

The short-lived App token migration has no established merge-blocking defect. External IAM grants and App installation settings remain unverified deployment prerequisites.

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 move from the shared GH_PAT_RELEASE_PLEASE_ACTION personal access token to a short-lived TrogonStack Releaser GitHub App token. The release-please workflow ch…
Description check Passed The description states the purpose of the change. Releases now use short-lived TrogonStack Releaser tokens instead of a shared personal access token. It also notes that the org-wide GH_PAT_RELEASE_PLE…
Full details: Title check

Explanation

The title names the main change: releases move from the shared GH_PAT_RELEASE_PLEASE_ACTION personal access token to a short-lived TrogonStack Releaser GitHub App token. The release-please workflow change in the raw summary matches this. The title is specific and uses the conventional commit form.

Full details: Description check

Explanation

The description states the purpose of the change. Releases now use short-lived TrogonStack Releaser tokens instead of a shared personal access token. It also notes that the org-wide GH_PAT_RELEASE_PLEASE_ACTION secret can be deleted after every repository switches. The raw summary confirms the release-please workflow change that matches this description.

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 hops past release night,
A cloud key keeps the token right.
The workflow gathers what it needs,
Then Release Please proceeds.
I nibble clover, pleased to see,
A fresh app token set free.

Recent 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: 0d87c979-47d4-4685-935a-40e012b60707
Commits

Reviewing files that changed from the base of the PR and between 1345f99 and 11c735c.

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 11c735c to 54eb14b Compare November 8, 2026 07:24
@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: 6ce3be10-2cf8-4d7b-8d0c-b0f80daae841)

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