Skip to content

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

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 workflow input change; no application or production runtime behavior.

Overview
Fixes Release Please by passing project_id (${{ vars.RELEASER_PROJECT_ID }}) into the Google Cloud auth step. Without it, the auth client tries to resolve the GCP project via Cloud Resource Manager, which the federated workload identity cannot access—so downstream steps (e.g. Releaser key / Secret Manager) fail with permission denied.

The project ID stays environment-scoped, not hardcoded in the repo.

Reviewed by Cursor Bugbot for commit c5079cc. 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: 0ba4d08a-87e8-41c9-8930-69c764c00fe5)

@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 sets the Google Cloud authentication project ID from the RELEASER_PROJECT_ID repository variable.

Changes

Release workflow configuration

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

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to c5079

The workflow now supplies the configured project to authentication. No actionable merge-blocking issue was established; the change is mergeable after normal checks.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title names the change: the Releaser key step now gets its project. The raw summary says the Google Cloud auth step takes its project ID from the RELEASER_PROJECT_ID repository variable, so the ti…
Description check Passed The description states the failure: a permission-denied error in the Releaser key step. It explains the cause: without a project, the Google auth library queries Cloud Resource Manager, which the fede…
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: the Releaser key step now gets its project. The raw summary says the Google Cloud auth step takes its project ID from the RELEASER_PROJECT_ID repository variable, so the title matches the single-line workflow change. The title is short and specific. The conventional-commit 'fix(ci)' prefix fits a CI workflow fix.

Full details: Description check

Explanation

The description states the failure: a permission-denied error in the Releaser key step. It explains the cause: without a project, the Google auth library queries Cloud Resource Manager, which the federated identity cannot read. It also says the project comes from the RELEASER_PROJECT_ID variable, which matches the workflow change. The description is specific and on topic.

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,
The project variable joins the show.
Cloud auth reads the value with care,
The workflow takes it from there.
Soft paws mark the update done.

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: f183b9a8-4f8d-4256-a71c-4e3ba05ee0eb
Commits

Reviewing files that changed from the base of the PR and between e02bf49 and c5079cc.

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 d93fc34 into main Nov 8, 2026
9 checks passed
@yordis
yordis deleted the yordis/fix-releaser-project-id branch November 8, 2026 13:26
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