Skip to content

fix(ci): give the Releaser key step its project - #73

Merged
yordis merged 1 commit into
mainfrom
yordis/fix-releaser-project-id
Nov 8, 2026
Merged

yordis merged 1 commit into
mainfrom
yordis/fix-releaser-project-id

Conversation

@yordis

@yordis yordis commented Nov 8, 2026 •

Copy link
Copy Markdown
Member
  • The Releaser key step fails as permission denied: without a project, the Google auth library looks it up in Cloud Resource Manager, which the federated identity cannot read.
  • The project comes from the environment's RELEASER_PROJECT_ID variable (https://github.com/straw-hat-team/moby-dick/pull/416), so it is not hardcoded per repository.

Note

Low Risk
Single CI configuration line using an existing environment variable; no runtime or application behavior changes.

Overview
Adds project_id: ${{ vars.RELEASER_PROJECT_ID }} to the Google Cloud auth step in the release-please workflow so Workload Identity Federation targets the correct GCP project instead of having the client infer it via Cloud Resource Manager (which the federated identity cannot read).

That unblocks the following Releaser key / Secret Manager step, which was failing with permission denied.

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

Without a project, the Google auth library looks it up in Cloud Resource Manager, which the federated identity cannot read, so the key read fails as permission denied.

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@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: d7f45d11-f934-4ab8-b53c-192189934564)

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The release workflow now passes vars.RELEASER_PROJECT_ID as project_id to the Google Cloud auth step.

Changes

Release workflow authentication

Layer / File(s) Summary
Google Cloud auth project configuration
.github/workflows/release-please.yml
The Google Cloud auth step now sets project_id from vars.RELEASER_PROJECT_ID.

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

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to 009fd

The workflow now supplies the configured project ID to authentication. No concrete regression is established, and the change is mergeable after normal checks.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title names the change: it adds a project to the Releaser key step in CI, which is the fix in the workflow. The title's wording ("give the Releaser key step its project") is specific and matches t…
Description check Passed The description states the failure (permission denied when no project is set, because the Google auth library queries Cloud Resource Manager) and where the project now comes from (the RELEASER_PROJECT…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Title check

Explanation

The title names the change: it adds a project to the Releaser key step in CI, which is the fix in the workflow. The title's wording ("give the Releaser key step its project") is specific and matches the one-line diff that sets project_id from RELEASER_PROJECT_ID in release-please.yml.

Full details: Description check

Explanation

The description states the failure (permission denied when no project is set, because the Google auth library queries Cloud Resource Manager) and where the project now comes from (the RELEASER_PROJECT_ID environment variable). Both points relate directly to the one-line change in the release-please workflow.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

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 release flow,
A project ID is set to go.
The auth step reads the stored key,
Then hops along quite happily.
One small change, one tidy trail.

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: ad2b8d7f-0149-4f5d-a8c6-25aea45c8e10
Commits

Reviewing files that changed from the base of the PR and between 0e15939 and 009fd3b.

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.

@yordis
yordis merged commit c4d241d into main Nov 8, 2026
4 checks passed
@yordis
yordis deleted the yordis/fix-releaser-project-id branch November 8, 2026 13:25
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